Browser UserAgent Change For the Slackware Logo on LQ
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Browser UserAgent Change For the Slackware Logo on LQ
I've seen a few posts about this, but unless I missed something, the solutions presented aren't exactly ideal. For example, one recommends changing the "general.useragent.extra.firefox" string to add "Slackware" to it. However, note that the Firefox version is also in that string, so you'll have to remember to keep that updated every time you upgrade Firefox, or else your useragent will be out of date. That's not a huge issue, of course - it doesn't really matter - but for some of us, we're a bit OCD about things like that
Therefore, here's my proposal that *seems* to work:
Open a new tab and navigate to "about:config"
Right-click --> New --> String
For the preference name, enter "general.useragent.extra.slackware" and then enter your preferred extra text to be added to the UserAgent string -- in my case, I used "Slackware Linux"
Best I can tell, the Slackware logo shows up as expected. YMMV.
[EDIT_1]
If you're wondering how to delete an old string/value pair just "reset" the string. If it's an entry you created it should now have a blank value. Close FF and reopen and the entry should be gone.
[/EDIT_1]
[EDIT_2]
After a bit of googling around I found a few useragent test sites. It appears that there are standard entries for vendors to use for further identification. I've now added 2 new strings:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.