[SOLVED] useragent on Seamonkey browser for 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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
copy and paste Your own current user agent string, have it handy (gvim comes to mind)
navigate to
Code:
about:config
input on the filter
Code:
useragent
to reduce the list a bit
right click and select new->string
input:
Code:
general.useragent.override
then it asks for the string, copy and paste Your original string (you saved it didn't you?)
mine was:
Code:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
for firefox
then edit it to something like this:
Code:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Slackware64/14.2
NOTE:
Having the appropriate correct user agent and a updated browser is a security measure.
Having an wrong user agent can lead to security issues, bot positive and negative.
You have been warned.
I just installed the user agent switcher firefox extension to add the Slackware part (because I wasn't sure what the default useragent was meant to be ). I am wondering what will happen when firefox is updated though? I guess I would need to change the user agent manually after each firefox upgrade.
I just installed the user agent switcher firefox extension to add the Slackware part (because I wasn't sure what the default useragent was meant to be ). I am wondering what will happen when firefox is updated though? I guess I would need to change the user agent manually after each firefox upgrade.
Yeah I noticed that, the version numbers appear to be static parts of the string. Although I changed it for linuxquestions.org only (since I just like the Slackware icon on the posts), so I can live with the user-agent string being out of date for one site only There may be better addons though.
Okay, all go edit useragent now and go hit distrowatch.com :^)
I know this was kinda tongue in cheek, but distrowatch tracks hits on the individual distro pages, not the useragent of the browsers visiting the site. So changing your useragent won't affect Slackware's rankings.
Quote:
[The statistics] simply show the number of times a distribution page on DistroWatch.com was accessed each day, nothing more.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
There is another way to skin this cat.
Both Firefox and SeaMonkey recognize and will use a file, user.js, in .mozilla/firefox/*.default directory for Firefox and .mozilla/seamonkey/*.default directory for SeaMonkey.
For Firefox ESR 45.4.0 (the stable version in Slackware) user.js looks like this:
Those files do not vanish when you install an update but you do need to manually edit the version number.
I would be nice if Slackware embedded the string in the package, but that would violate the unfooled-areound-with rule (like "branding") but that ain't gonna happen methinks.
This is the easiest way I've found to get the logo to appear in LQ.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.