This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

User-agent info required

  • 4 iimpendulo
  • 1 inayo le ngxaki
  • 1 view
  • Impendulo yokugqibela ngu finitarry

more options

Where would I get more information about various user-agents? The list of user-agents that one can get for User Agent Switcher has only the user-agent strings filled in, and nothing else. To make a really convincing fake UA, one needs to have App Code Name, App Name, App Version, and Platform filled in correctly as well. The App Version and Platform differ wildly among different browsers and operating systems. Where would I find that for Linux browsers, mobile devices, etc.?

Where would I get more information about various user-agents? The list of user-agents that one can get for User Agent Switcher has only the user-agent strings filled in, and nothing else. To make a really convincing fake UA, one needs to have App Code Name, App Name, App Version, and Platform filled in correctly as well. The App Version and Platform differ wildly among different browsers and operating systems. Where would I find that for Linux browsers, mobile devices, etc.?

All Replies (4)

more options
more options

I do not mean the parts of the user-agent string in that field in the request header. I mean the other information that servers can get about the browser with javascript code to do detailed browser-sniffing. If you choose Edit User Agents from the menu for User-agent Switcher and add a new user-agent, you will see that there are 5 items that are filled in from your browser automatically to begin. The first is the user-agent string, but the others are App Code Name, App Name, App Version, and Platform. It is the last four that are missing from the list of fake user-agents that you get with the file that is made available for download. I wanted to fill in those blanks for other browsers to make more convincing fakes, so I need that information.

more options

If the server checks for capabilities then faking such navigator properties won't help you.

The appCodeName and appVersion also show as part of the user agent (Mozilla/5.0 (Macintosh; -> 5.0 (Macintosh), so you can inspect the various user agents and extract this data. In Firefox the AppName is always Netscape and the AppVersion 5.0 plus a platform code

Your Safari user agent:

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8)

appCodeName: Mozilla appName: Netscape appVersion: 5.0 (Macintosh) platform: Intel Mac OS X 10_6_8

On Linux, you usually see Mozilla/5.0 (X11; Linux i686; ) or Mozilla/5.0 (X11; Linux x86_64; ) So appVersion: 5.0 (X11) and platform : Linux i686 or Linux x86_64

See also:

Ilungisiwe ngu cor-el

more options

Thanks for the pages. I have bookmarked them for reference. Not quite what I need, but informative.

As far as the Safari information goes, actually, the info you gave is not quite right.

  • userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.59.10 (KHTML, like Gecko) Version/5.1.9 Safari/534.59.10
  • appCodeName and appName are correct
  • appVersion: 5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.59.10 (KHTML, like Gecko) Version/5.1.9 Safari/534.59.10
  • platform: MacIntel

For SeaMonkey, that info is:

  • userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30
  • appCodeName and appName are the same
  • appVersion = 5.0 (Macintosh)
  • platform = MacIntel

For Opera using a Presto rendering engine:

  • userAgent: Opera/9.80 (Macintosh; Intel Mac OS X 10.6.8; U; en) Presto/2.10.229 Version/11.62
  • appCodeName: Mozilla
  • appName: Opera
  • appVersion: 9.80 (Macintosh; Intel Mac OS X 10.6.8; U; en)
  • platform: MacIntel

The format for the platform differs among operating systems. For Windows 32 bit, the platform is Win32, and for Windows 64 bit, the platform is Win64. For a Mac with a Motorola CPU, the platform is MacPPC. The exact format used for version differs with the browser used. My problem is that I do not know all of them. The examples I am giving are from browsers that I have and can test with testing sites. A good testing site is here: http://dev.jeffersonscher.com/jstest.asp