We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

How is the useragent is set

  • 4 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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?

การตอบกลับทั้งหมด (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.