From e7e386bb274fc32e17825710c0ca7552fd22a245 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 22 Jun 2024 14:02:47 +0300 Subject: [PATCH] firefox: reveal HttpUserAgent I am tired of constantly seeing Windows and suggestions for Windows app everywhere, while HTTP User Agent is supposedly deprecated in favour of NavigatorUserAgent --- conf/firefox-forbidden-policies.js | 2 +- etc/firefox/policies/policies.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/firefox-forbidden-policies.js b/conf/firefox-forbidden-policies.js index f362564b..ce244c10 100644 --- a/conf/firefox-forbidden-policies.js +++ b/conf/firefox-forbidden-policies.js @@ -82,7 +82,7 @@ lockPref("privacy.fingerprintingProtection", true); //lockPref("privacy.fingerprintingProtection", false); pref( "privacy.fingerprintingProtection.overrides", - "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorUserAgent,-JSDateTimeUTC", + "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent", ); //clearPref("privacy.fingerprintingProtection.overrides"); lockPref("privacy.fingerprintingProtection.pbmode", true); diff --git a/etc/firefox/policies/policies.json b/etc/firefox/policies/policies.json index 198c7f29..85edad29 100644 --- a/etc/firefox/policies/policies.json +++ b/etc/firefox/policies/policies.json @@ -745,7 +745,7 @@ "Comment": "Preference not allowed for stability reasons. :( https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc", "Status": "locked", "Type": "string", - "Value": "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorUserAgent,-JSDateTimeUTC" + "Value": "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent" }, "privacy.fingerprintingProtection.pbmode": { "Comment": "Preference not allowed for stability reasons. :(",