Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.
Effectiveness of User agent (useragent)
Hello to everybody :o)
several websites, i.e. YouTube, Facebook and Google, detect the actual version of Firefox despite the fact I set a different version number (more recent) by means of the "User Agent Switcher" plugin.
So my question is twofold:
1) how can I change the "fingerprint" of my Firefox effectively, in order to make *any* website recognize the version number which I set (and not the real one)?
2) how those websites do detect the ACTUAL identity of a given browser, despite the changes to the User Agent string that one may have made by means of a switcher?
Thank you in advance to all you folks!
All Replies (13)
Why are you wanting to do this? I guess I'm just trying to figure out your motive so we can address that.
Also, are you really using Windows 2000? If not, please update to Firefox 31. Also, update your flash, it's very out of date.
Good morning Tyler, and thank you for your answer.
You saw Windows 2000 because I was writing from a computer (not mine) whose operating system cannot be changed due to logistic issues and compatibility problems with one of the applications installed (I won't go into more details since it's not my PC). For the same reason (compatibility with Win2000) Firefox could not be updated beyond a certain version.
My purpose is to investigate the usage of "User Agent sniffing" by a few websites. While in some cases the contents of certain web pages is changed with the genuine purpose of ensuring functional compatibility with a given browser, in other cases I suspect that certain functions of the web site/page are intentionally inhibited for browser versions "older than XYZ", although the browser would be perfectly able to support them, for the sole purpose of forcing (exasperating?...) the site visitor to change his/her browser to another version. In other words, I suspect that there are websites which prevent the visitor from using certain functions if a given browser version is detected, not due to real compatibility needs, but only to coerce the visitor to change his/her browser. I guess there is nothing bad in doing some research on my own, isn't it?... :o)
Sorry cor-el, my original question had nothing to do with Windows 2000, I guess that you were misleaded by an incidental question about the O.S. of the PC from where I was writing. Thank you anyway.
I wrote that so you can install a more recent Firefox version on the computer that runs Windows 2000.
Hello cor-el, sorry for the delay in answering you, I was away on (much sought after) holiday! :o) It seems that there is no fast-and-simple way to change the fingerprint so Firefox would effectively look like a more recent version...
Just one last question, if you allow me.
Is there any feasible way to change *that*?
It's probably possible that 12 doesn't support all the latest features, check out http://html5test.com/results/desktop.html to see just what HTML5 features it doesn't support. (Firefox 30 scores 467, Firefox 12 scores 357). As the internet continues to advance, your computer will be left further and further behind, and no spoofing of user agents is going to fix that.
With Firefox, you now need the additional extension "User-agent JS Fixer" to add the fake string to the request header.
Thank you for the hint finitarry! (and excuse me for the delay in answering... lately, I'm travelling a lot due to my job :-( )
Just one question: in order for my browser to effectively behave as another version of the same browser, in addition to that "User-agent JS Fixer" do I need to install any other extension?...
Hello finitarry! Again, I apologize for answering so late: my employer keeps shipping me around, I'm starting to feel like a piece of luggage (sometimes I think I must have an airline label pasted somewhere), and under these conditions it's so difficult to handle my (very little) spare time satisfactorily... About the User Agent switcher, I assume that you were talking about this program:
For the abovesaid reasons (almost no spare time) I could not install and try it yet, but I read several opinions by the folks who used it, and the two most common complaints seems to be: 1) that program is anything but user-friendly (excessively complex to set up), and 2) it does not retain the settings between two sessions. I'm wondering whether you do know of any user agent switcher which does not need a degree in computer science, which I can't take ;o) . If you don't, could you please tell be the basic information and tips about setting up a "convincing" fake? Like the location of that .XML file you mentioned, and what to fill in what fields...
To Tyler Downer, and any of you folks who may be interested in my little investigation: I discovered that one social network has recently introduced a feature which disables the "paste" function ONLY in certain types of posts, while allowing it to work in other areas of the page, if the browser is older than XYZ. This is a fitting example of what I meant in my second post in this thread: the copy/paste function is a very basic feature in any OS and browser, the browser is perfectly able to support it (of course!), but they intentionally prevent you from using it with the sole purpose of exasperating you to the point that you decide to change your software, actually at their will. I feel it's like being manipulated, and I find this behaviour very irritating.
You can download a list of fake user-agents in an .xml file and it can be used with User Agent Switcher. The only problem is that it has filled in only the user-agent string that is in the browser's request header, and a convincing fake needs more than that. You would see what I meant if you installed that extension. If you click the button, choose "Edit User Agents", click "New", then "New User Agent", you will see that some information is filled out for you. That is the type of information that should be in the fake.
The fake user-agent is not carried through from one session to the next, but it is easy to find it and click it again.
If web servers check for feature support in the browser instead of using the user agent that it won't help to spoof the user agent. There is usually no need to change the user agent unless you need to visit websites that only work with older Firefox versions and in such a case it might still not work. A lot of servers send files for different browsers and Operating Systems and might not work properly.