Mozilla 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

How is the useragent is set

  • 4 प्रत्युत्तर
  • 1 यह समस्या है
  • 3 views
  • के द्वारा अंतिम प्रतियुतर cor-el

more options

How does firefox determine the user agent? I'm especially interested in how the operating system is detected. Is there a way to manipulate the detection?

How does firefox determine the user agent? I'm especially interested in how the operating system is detected. Is there a way to manipulate the detection?

All Replies (4)

more options
more options

Hi, you may find what is listed in Google search using your question enough information : https://www.google.com/search?q=How+does+firefox+determine+the+user+agent%3F&ie=utf-8&oe=utf-8&client=firefox-b

more options
more options

Note that it not only the user agent, but there are more navigator properties.

The user agent is send via the HTTP request headers, but JavaScript running on a page can detect more. There are override prefs for most of these, some examples:

  • general.useragent.override
  • general.platform.override

Note that some properties are spoofed when Resist Fingerprinting is enabled.