Monday, 8 July 2019

browser - How do I change Firefox's user agent via about:config?


My work has blocked Internet access with Firefox. I know how to change the value of “general.useragent.extra.firefox” through about:config, but when I try to change it to IE, I still can’t access any website.


I have Firefox 3.5.6 and Internet Explorer 7 installed on my desktop. Now, would I have to use the user agent that Internet Explorer 7 is currently using on my computer or can I use any Internet Explorer user agent? The user agent that Internet Explorer 7 is using right now is:



Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022).



Do I just copy that and use it as the user agent in Firefox?


How can I make this work?



Answer



That setting influences only a part of useragent string. Try the general.useragent.override one. This is what User Agent Switcher extension does. Tip: this setting may be not present in fresh install. You can create it with context menu.


Also, if you think you cannot install Firefox addons when it's not allowed to browse Internet, here's another tip: just go to Firefox's addon site site and download XPI extension archive; the just open it in Firefox with File -> Open menu and it will install!


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...