How to remove User-Agent for Firefox
The goal is to remove this header from all web requests, in case you don't want sites to know which OS are you using.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityThere is a way to do this without any addons:
general.useragent.override
and an empty string as a value.general.useragent.enable_overrides
to true
.This way your browrer will not send any "User Agent" at all. You can check this by doing:
Ctrl Shift Q
P.S. Your browser may still be leaked if you have JS enabled for a site. This is because each browser has its own rendering capabilities, supported formats etc. The described steps remove "User-Agent" request headers, that's all.
general.useragent.enable_overrides
key is apparently no longer present in Firefox, but it seems that that step can be skipped without causing any problems. Also see this HowToGeek tutorial, which provides an illustrated version of your instructions.
I use an add-on for this, but only for specific websites that should treat me as a mobile device...
With Modify Headers you can try to fix your problem: https://addons.mozilla.org/de/firefox/addon/modify-headers/