Compare commits

..

No commits in common. "51d756921aa04172f57b2030ec7565e784d235e8" and "c4d1e433aeca3aef5b89b27de479623787f15874" have entirely different histories.

2 changed files with 36 additions and 40 deletions

View File

@ -8,7 +8,7 @@
lockPref("autoadmin.failover_to_cached", true); lockPref("autoadmin.failover_to_cached", true);
lockPref( lockPref(
"autoadmin.global_config_url", "autoadmin.global_config_url",
"https://raw.githubusercontent.com/Mikaela/shell-things/refs/heads/cxefa/conf/firefox-forbidden-policies.js", "https://codeberg.org/Aminda/shell-things/raw/branch/cxefa/conf/firefox-forbidden-policies.js",
); );
lockPref("autoadmin.offline_failover", true); lockPref("autoadmin.offline_failover", true);
lockPref("autoadmin.refresh_interval", 120); lockPref("autoadmin.refresh_interval", 120);
@ -20,41 +20,38 @@ lockPref("cookiebanners.service.mode.privateBrowsing", 2);
// I can set my preferred fonts in an order! :O // I can set my preferred fonts in an order! :O
// but obviously this is forbidden in policies.json! // but obviously this is forbidden in policies.json!
lockPref( // lockPref(
"font.name-list.monospace.x-cyrillic", // "font.name-list.monospace.x-cyrillic",
"Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace", // "Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
); // );
lockPref( // lockPref(
"font.name-list.monospace.x-western", // "font.name-list.monospace.x-western",
"Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace", // "Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
); // );
// REMEMBER! OpenDyslexic won't work here for some reason, use the extension // // REMEMBER! OpenDyslexic won't work here for some reason, use the extension
// once it returns to Firefox! https://github.com/OpenDyslexic/extension/issues/75 // // once it returns to Firefox! https://github.com/OpenDyslexic/extension/issues/75
// TODO: Is the above correct when -FontVisibilityRestrictGenerics ? // lockPref(
lockPref( // "font.name-list.sans-serif.x-cyrillic",
"font.name-list.sans-serif.x-cyrillic", // "OpenDyslexic, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
"Atkinson Hyperlegible Next, OpenDyslexic, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif", // );
); // lockPref(
lockPref( // "font.name-list.sans-serif.x-western",
"font.name-list.sans-serif.x-western", // "OpenDyslexic, Inclusive Sans, Liberation Sans, Comic Neue, Roboto, Noto Sans, sans-serif",
"Atkinson Hyperlegible Next, OpenDyslexic, Inclusive Sans, Liberation Sans, Comic Neue, Roboto, Noto Sans, sans-serif", // );
); // lockPref(
lockPref( // "font.name-list.serif.x-cyrillic",
"font.name-list.serif.x-cyrillic", // "OpenDyslexic, Inclusive Sans, Liberation Serif, Roboto Serif, Noto Serif, serif",
"Atkinson Hyperlegible Next, OpenDyslexic, Inclusive Sans, Liberation Serif, Roboto Serif, Noto Serif, serif", // );
); // lockPref(
lockPref( // "font.name-list.serif.x-western",
"font.name-list.serif.x-western", // "OpenDyslexic, Inclusive Sans, Liberation Serif, Roboto Serif, Noto Serif, serif",
"Atkinson Hyperlegible Next, OpenDyslexic, Inclusive Sans, Liberation Serif, Roboto Serif, Noto Serif, serif", // );
); clearPref("font.name-list.monospace.x-cyrillic");
clearPref("font.name-list.monospace.x-western");
// Uncomment when giving up on messing up with fonts clearPref("font.name-list.sans-serif.x-cyrillic");
//clearPref("font.name-list.monospace.x-cyrillic"); clearPref("font.name-list.sans-serif.x-western");
//clearPref("font.name-list.monospace.x-western"); clearPref("font.name-list.serif.x-cyrillic");
//clearPref("font.name-list.sans-serif.x-cyrillic"); clearPref("font.name-list.serif.x-western");
//clearPref("font.name-list.sans-serif.x-western");
//clearPref("font.name-list.serif.x-cyrillic");
//clearPref("font.name-list.serif.x-western");
// Play animated images only once, accessibility. // Play animated images only once, accessibility.
lockPref("image.animation_mode", "once"); lockPref("image.animation_mode", "once");
@ -66,10 +63,9 @@ lockPref("javascript.use_us_english_locale", true);
// Refer to https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc // Refer to https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc
lockPref("privacy.fingerprintingProtection", true); lockPref("privacy.fingerprintingProtection", true);
lockPref("privacy.fingerprintingProtection.pbmode", true); lockPref("privacy.fingerprintingProtection.pbmode", true);
// -FontVisibilityRestrictGenerics should allow fonts set in preferences to appear
lockPref( lockPref(
"privacy.fingerprintingProtection.overrides", "privacy.fingerprintingProtection.overrides",
"+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack", "+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC",
); );
pref("browser.display.use_document_fonts", 0); pref("browser.display.use_document_fonts", 0);

View File

@ -605,7 +605,7 @@
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
"Status": "locked", "Status": "locked",
"Type": "string", "Type": "string",
"Value": "https://raw.githubusercontent.com/Mikaela/shell-things/refs/heads/cxefa/conf/firefox-forbidden-policies.js" "Value": "https://codeberg.org/Aminda/shell-things/raw/branch/cxefa/conf/firefox-forbidden-policies.js"
}, },
"autoadmin.offline_failover": { "autoadmin.offline_failover": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
@ -1143,7 +1143,7 @@
"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", "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,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack" "Value": "+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC"
}, },
"privacy.fingerprintingProtection.pbmode": { "privacy.fingerprintingProtection.pbmode": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",