Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
11-23-2014, 11:37 AM
|
#1
|
Member
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246
Rep:
|
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.
|
|
|
11-23-2014, 07:45 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,589
|
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.
|
|
|
11-23-2014, 09:15 PM
|
#3
|
Member
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246
Original Poster
Rep:
|
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.
Last edited by Arcosanti; 11-23-2014 at 09:47 PM.
|
|
|
11-24-2014, 12:39 AM
|
#4
|
Member
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246
Original Poster
Rep:
|
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.
|
|
|
11-24-2014, 12:40 AM
|
#5
|
Member
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246
Original Poster
Rep:
|
And this post should show up as Slackware.
---------- Post added 11-23-14 at 11:41 PM ----------
Ok I'll consider this thread solved.
|
|
|
11-24-2014, 08:01 PM
|
#6
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,589
|
Cool.
|
|
|
All times are GMT -5. The time now is 12:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|