Compare commits

...

2 Commits

Author SHA1 Message Date
d123ec2786
firefox-forbidden-policies.js: unlock document fonts here as well 2025-04-11 13:52:50 +03:00
e69c13ee4e
firefox: allow temporary toggling of browser.display.use_document_fonts
because developer tools fonts menu may be too useful for remote fonts at times
2025-04-11 13:49:02 +03:00
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ lockPref(
"privacy.fingerprintingProtection.overrides", "privacy.fingerprintingProtection.overrides",
"+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC,-FontVisibilityBaseSystem,-FontVisibilityRestrictGenerics", "+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC,-FontVisibilityBaseSystem,-FontVisibilityRestrictGenerics",
); );
lockPref("browser.display.use_document_fonts", 0); pref("browser.display.use_document_fonts", 0);
// Letterboxing from Tor Browser, I like it in general. // Letterboxing from Tor Browser, I like it in general.
lockPref("privacy.resistFingerprinting.letterboxing", true); lockPref("privacy.resistFingerprinting.letterboxing", true);

View File

@ -630,7 +630,7 @@
}, },
"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. If changing this, see also fingerprinting overrides", "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": "locked", "Status": "user",
"Type": "number", "Type": "number",
"Value": 0 "Value": 0
}, },