# firefox/iceweasel/icecat/librewolf/etc... hardening, apply to about:config
# Commented out lines are set by default in iceweasel and can be skipped if you use iceweasel. Otherwise, make sure to check them.
# Basic
#dom.push.serverURL = ""
#browser.selfsupport.url = ""
network.captive-portal-service.enabled = false
#pocket.enabled = false
privacy.firstparty.isolate = true
#privacy.trackingprotection.fingerprinting.enabled = true
#privacy.trackingprotection.cryptomining.enabled = true
privacy.trackingprotection.enabled = true
#browser.send_pings = false
browser.urlbar.speculativeConnect.enabled = false
#dom.event.clipboardevents.enabled = false
#media.eme.enabled = false
#media.gmp-widevinecdm.enabled = false
media.navigator.enabled = false
#network.cookie.cookieBehavior = 1
network.http.referer.XOriginPolicy = 2
network.http.referer.XOriginTrimmingPolicy = 2
webgl.disabled = true
browser.sessionstore.privacy_level = 2
beacon.enabled = false
#browser.safebrowsing.downloads.remote.enabled = false
#network.dns.disablePrefetch = true
#network.dns.disablePrefetchFromHTTPS = true
network.predictor.enabled = false
#network.predictor.enable-prefetch = false
#network.prefetch-next = false
#network.IDN_show_punycode = true
identity.fxaccounts.enabled = false
# WebRTC
media.peerconnection.enabled = false
media.peerconnection.turn.disable = true
media.peerconnection.use_document_iceservers = false
media.peerconnection.video.enabled = false
media.peerconnection.identity.timeout = 1
# JIT (disables just-in-time javascript compiler, might have a small performance impact, or in some cases result in better performance)
javascript.options.baselinejit = false
javascript.options.ion = false
javascript.options.wasm = false
javascript.options.asmjs = false
# optional
privacy.resistFingerprinting = true
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}