firefox: lock document fonts disallowed, disable font fingerprinting protection for custom fonts

This commit is contained in:
Aminda Suomalainen 2025-03-08 08:41:01 +02:00
parent 5b15bcfc3f
commit 9a26987f7b
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 7 additions and 6 deletions

View File

@ -76,10 +76,11 @@ lockPref("privacy.fingerprintingProtection", true);
// Somehow I cannot clearPref this, so... // Somehow I cannot clearPref this, so...
//clearPref("privacy.fingerprintingProtection"); //clearPref("privacy.fingerprintingProtection");
//lockPref("privacy.fingerprintingProtection", false); //lockPref("privacy.fingerprintingProtection", false);
pref( lockPref(
"privacy.fingerprintingProtection.overrides", "privacy.fingerprintingProtection.overrides",
"+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC", "+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC,-FontVisibilityBaseSystem",
); );
lockPref("browser.display.use_document_fonts", 0);
//clearPref("privacy.fingerprintingProtection.overrides"); //clearPref("privacy.fingerprintingProtection.overrides");
lockPref("privacy.fingerprintingProtection.pbmode", true); lockPref("privacy.fingerprintingProtection.pbmode", true);
//clearPref("privacy.fingerprintingProtection.pbmode"); //clearPref("privacy.fingerprintingProtection.pbmode");

View File

@ -458,8 +458,8 @@
"Value": false "Value": false
}, },
"browser.display.use_document_fonts": { "browser.display.use_document_fonts": {
"Comment": "Are webpages allowed to set their own fonts by default? 0 forbids them. See also browser.display.use_document_fonts.icon_font_allowlist for what webpages are allowed to set.", "Comment": "Are webpages allowed to set their own fonts by default? 0 forbids them. See also browser.display.use_document_fonts.icon_font_allowlist for what webpages are allowed to set. If changing this, see also fingerprinting overrides",
"Status": "user", "Status": "locked",
"Type": "number", "Type": "number",
"Value": 0 "Value": 0
}, },
@ -831,10 +831,10 @@
"Value": true "Value": true
}, },
"privacy.fingerprintingProtection.overrides": { "privacy.fingerprintingProtection.overrides": {
"Comment": "Preference not allowed for stability reasons. :( https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc", "Comment": "Preference not allowed for stability reasons. :( https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc - If you adjust this, see also use_document_fonts to not increase fingerprinting surface excessively",
"Status": "locked", "Status": "locked",
"Type": "string", "Type": "string",
"Value": "+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC" "Value": "+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC,-FontVisibilityBaseSystem"
}, },
"privacy.fingerprintingProtection.pbmode": { "privacy.fingerprintingProtection.pbmode": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",