From 1290db73f5a9e87057b9b37a47085d4baea380e6 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 18 May 2024 09:15:10 +0300 Subject: [PATCH] firefox/policies.json: import more disallowed things from autoconfig, comment disallowed ones, clear location provider --- etc/firefox/policies/policies.json | 82 +++++++++++++++++++++++++++++- 1 file changed, 81 insertions(+), 1 deletion(-) diff --git a/etc/firefox/policies/policies.json b/etc/firefox/policies/policies.json index 732e3bc5..af74d2b6 100644 --- a/etc/firefox/policies/policies.json +++ b/etc/firefox/policies/policies.json @@ -266,6 +266,24 @@ "Type": "boolean", "Value": false }, + "cookiebanners.bannerClicking.enabled": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "locked", + "Type": "boolean", + "Value": true + }, + "cookiebanners.service.mode": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "locked", + "Type": "number", + "Value": 2 + }, + "cookiebanners.service.mode.privateBrowsing": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "locked", + "Type": "number", + "Value": 2 + }, "dom.block_download_insecure": { "Status": "locked", "Type": "boolean", @@ -281,7 +299,12 @@ "Type": "string", "Value": "" }, + "geo.provider.network.url": { + "Comment": "This might point to discontinued Mozilla Location Services, so better to restore it to default.", + "Status": "clear" + }, "image.animation.mode": { + "Comment": "Preference not allowed for stability reasons. :(", "Status": "default", "Type": "string", "Value": "once" @@ -291,11 +314,22 @@ "Type": "string", "Value": "fi, en" }, + "javascript.use_us_english_locale": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "default", + "Type": "boolean", + "Value": true + }, "layout.css.devPixelsPerPx": { "Status": "default", "Type": "string", "Value": "1.5" }, + "layout.css.prefers-color-scheme.content-override": { + "Status": "default", + "Type": "number", + "Value": 0 + }, "media.autoplay.default": { "Status": "default", "Type": "number", @@ -402,25 +436,64 @@ "Value": "#ffb700" }, "privacy.donottrackheader.enabled": { + "Comment": "Preference not allowed for stability reasons. :(", "Status": "locked", "Type": "boolean", "Value": true }, "privacy.donottrackheader.value": { + "Comment": "Preference not allowed for stability reasons. :(", "Status": "locked", "Type": "number", "Value": 1 }, + "privacy.fingerprintingProtection": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "locked", + "Type": "boolean", + "Value": true + }, + "privacy.fingerprintingProtection.overrides": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "locked", + "Type": "string", + "Value": "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack" + }, + "privacy.fingerprintingProtection.pbmode": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "locked", + "Type": "boolean", + "Value": true + }, "privacy.globalprivacycontrol.enabled": { "Status": "locked", "Type": "boolean", "Value": true }, - "privacy.globalprivacycontrol.functionality.enabled": { + "privacy.resistFingerprinting": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "locked", + "Type": "boolean", + "Value": false + }, + "privacy.resistFingerprinting.block_mozAddonManage": { + "Comment": "Preference not allowed for stability reasons. :(", "Status": "locked", "Type": "boolean", "Value": true }, + "privacy.resistFingerprinting.letterboxing": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "locked", + "Type": "boolean", + "Value": true + }, + "privacy.resistFingerprinting.pbmode": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "locked", + "Type": "boolean", + "Value": false + }, "privacy.userContext.enabled": { "Status": "locked", "Type": "boolean", @@ -431,6 +504,12 @@ "Type": "boolean", "Value": true }, + "reader.parse-on-load.force-enabled": { + "Comment": "Preference not allowed for stability reasons. :(", + "Status": "locked", + "Type": "boolean", + "Value": true + }, "security.OCSP.require": { "Status": "locked", "Type": "boolean", @@ -447,6 +526,7 @@ "Value": true }, "security.ssl.enable_ocsp_must_staple": { + "Comment": "Preference not allowed for security reasons. :(", "Status": "locked", "Type": "boolean", "Value": true