Wrong and different userAgent string in navigator.userAgent and useragent headers
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
People
(Reporter: mozilla, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
- Install 72.0.2 (64-bit) firefox on Macos 10.15.3 (19D76)
- Synced my firefox account.
- Wait for a few minutes for the sync to process
- Check about:support - Useraget string is Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
- Open console and type navigator.userAgent. I am getting the result as
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0"
Note that both of these strings identify the browser wrongly. My browser is Firefox V72.0.2 (64 bit) on Macos.
Actual results:
Got wrong useragent string.
Expected results:
Display the correct useragent string
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0
This can happen if you have enabled "Resist Fingerprinting".
This spoofs the user agent to a Firefox ESR version and also places you in the UTC time zone and makes other changes.
You can check this pref on the about:config page:
privacy.resistFingerprinting = false
See:
https://support.mozilla.org/en-US/kb/firefox-protection-against-fingerprinting
Comment 2•6 years ago
•
|
||
If you don't have the have the above preference set, also check for general.useragent.override and look through your list of add-ons for an extension that modifies the user agent string. If you've double-checked neither is the case, feel free to reopen.
Description
•