[SOLVED] Anyone know of an easy way to switch User Agent strings in IceCat?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Anyone know of an easy way to switch User Agent strings in IceCat?
I use the GNU rebranded version of Firefox known as IceCat and have the User Agent set to make IceCat look like a Windows version of Firefox. I do so as I visit certain survey sites that require a Windows browser to take the survey. So I use the User Agent in about:config to do it as the User Agent plugin doesn't work. Does anyone know of a fast way to turn on and off the User Agent override without having to go into about:config to do it? Like maybe a bash script or something.
If Firefox Extensions work with IceCat, there are a number of Firefox extensions for managing your user agent string. I have tested User Agent Switcher and it works nicely.
Konqueror has a built-in user agent changer. I noticed it the other day. It's under Tools-->Change Browser Idenfication. I just tested it with whatismyuseragent.com and it seems to work. You can add to it under Settings-->Configure Konqueror-->Web Browsing.
The User Agent Switcher plugin does not work. These survey web sites are able to see right through it. The built in override in about:config does work however. So far only one site saw through it somehow and that was about a year and a half ago. They probably had my browswer finger printed before I did the user agent override. Pretty much all of the other sites see it as I put in the user agent override.
I think I have a solution though. The about:config settings are stored in /home/my_user_name/.mozilla/icecat/thenameoftheprofile/prefs.js. I should be able to make a simple script to swap between two different prefs.js. I just have to make sure the browser is shutdown first or else IceCat will just change it back when it does shut down. Also the changes don't take effect until the broswer is restarted anyway.
As for the other plugins, I'm not familiar with them and I don't like Konqueror to much.
Looks like I was a bit off on the path. I forgot that later versions of IceCat use /.mozilla while earlier versions use /.gnuzilla. I made my scripts and modified them for the correct path. This post should show up as Windows XP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.