firefox: quick cleanup in hopes of becoming Google approved not suspicious looking browser

This commit is contained in:
Aminda Suomalainen 2025-07-18 20:47:16 +03:00
parent 21c79bcc99
commit e44c405cc8
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 34 additions and 57 deletions

View File

@ -20,38 +20,38 @@ lockPref("cookiebanners.service.mode.privateBrowsing", 2);
// I can set my preferred fonts in an order! :O
// but obviously this is forbidden in policies.json!
lockPref(
"font.name-list.monospace.x-cyrillic",
"Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
);
lockPref(
"font.name-list.monospace.x-western",
"Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
);
// REMEMBER! OpenDyslexic won't work here for some reason, use the extension
// once it returns to Firefox! https://github.com/OpenDyslexic/extension/issues/75
lockPref(
"font.name-list.sans-serif.x-cyrillic",
"OpenDyslexic, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
);
lockPref(
"font.name-list.sans-serif.x-western",
"OpenDyslexic, Inclusive Sans, Liberation Sans, Comic Neue, Roboto, Noto Sans, sans-serif",
);
lockPref(
"font.name-list.serif.x-cyrillic",
"OpenDyslexic, Inclusive Sans, Liberation Serif, Roboto Serif, Noto Serif, serif",
);
lockPref(
"font.name-list.serif.x-western",
"OpenDyslexic, Inclusive Sans, Liberation Serif, Roboto Serif, Noto Serif, serif",
);
// clearPref("font.name-list.monospace.x-cyrillic");
// clearPref("font.name-list.monospace.x-western");
// clearPref("font.name-list.sans-serif.x-cyrillic");
// clearPref("font.name-list.sans-serif.x-western");
// clearPref("font.name-list.serif.x-cyrillic");
// clearPref("font.name-list.serif.x-western");
// lockPref(
// "font.name-list.monospace.x-cyrillic",
// "Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
// );
// lockPref(
// "font.name-list.monospace.x-western",
// "Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
// );
// // REMEMBER! OpenDyslexic won't work here for some reason, use the extension
// // once it returns to Firefox! https://github.com/OpenDyslexic/extension/issues/75
// lockPref(
// "font.name-list.sans-serif.x-cyrillic",
// "OpenDyslexic, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
// );
// lockPref(
// "font.name-list.sans-serif.x-western",
// "OpenDyslexic, Inclusive Sans, Liberation Sans, Comic Neue, Roboto, Noto Sans, sans-serif",
// );
// lockPref(
// "font.name-list.serif.x-cyrillic",
// "OpenDyslexic, Inclusive Sans, Liberation Serif, Roboto Serif, Noto Serif, serif",
// );
// lockPref(
// "font.name-list.serif.x-western",
// "OpenDyslexic, Inclusive Sans, Liberation Serif, Roboto Serif, Noto Serif, serif",
// );
clearPref("font.name-list.monospace.x-cyrillic");
clearPref("font.name-list.monospace.x-western");
clearPref("font.name-list.sans-serif.x-cyrillic");
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.
lockPref("image.animation_mode", "once");
@ -65,7 +65,7 @@ lockPref("privacy.fingerprintingProtection", true);
lockPref("privacy.fingerprintingProtection.pbmode", true);
lockPref(
"privacy.fingerprintingProtection.overrides",
"+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC,-FontVisibilityBaseSystem,-FontVisibilityRestrictGenerics",
"+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC",
);
pref("browser.display.use_document_fonts", 0);

View File

@ -231,7 +231,6 @@
"DisableFirefoxScreenshots": false,
"DisableFirefoxStudies": true,
"DisableForgetButton": false,
"DisablePocket": true,
"DisableSecurityBypass": {
"InvalidCertificate": true,
"SafeBrowsing": false
@ -464,21 +463,6 @@
"private_browsing": false,
"restricted_domains": []
},
"{5b22cb75-8e43-4f2a-bb9b-1da0655ae564}": {
"blocked_install_message": "archive.is extension via their homepage",
"default_area": "navbar",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/archive-page/latest.xpi",
"installation_mode": "normal_installed",
"private_browsing": false,
"restricted_domains": []
},
"{6003eac6-4b07-4aaf-960b-92fa006cd444}": {
"blocked_install_message": "Mozilla Orbit. AI hurts climate and the crawlers are DDoSing the internet. However the summary feature sometimes spares my mental health, so begrudgingly it's allowed and won't be normal_installed let alone force_installed.",
"default_area": "navbar",
"installation_mode": "blocked",
"private_browsing": false,
"restricted_domains": []
},
"{6a65273e-2b26-40f5-b66e-8eed317307da}": {
"blocked_install_message": "New Tab Suspender. More useful than the Firefox integrated one, which this policy should also enable (if not, autoconfig does, I don't remember and not checking right now, TODO!)",
"default_area": "navbar",
@ -581,7 +565,6 @@
"Pocket": false,
"Search": true,
"Snippets": false,
"SponsoredPocket": false,
"SponsoredTopSites": false,
"TopSites": false
},
@ -1146,7 +1129,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",
"Status": "locked",
"Type": "string",
"Value": "+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC,-FontVisibilityBaseSystem,-FontVisibilityRestrictGenerics"
"Value": "+AllTargets,-KeyboardEvents,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC"
},
"privacy.fingerprintingProtection.pbmode": {
"Comment": "Preference not allowed for stability reasons. :(",
@ -1209,12 +1192,6 @@
"Type": "boolean",
"Value": true
},
"security.tls.ech.grease_http3": {
"Comment": "Seems to be required for http3. This defaults to true on Nightly 128 and false on 115.11.0esr. However again not allowed to be deployed here for security :()",
"Status": "locked",
"Type": "boolean",
"Value": true
},
"sidebar.revamp": {
"Comment": "Preference not allowed for stability reasons.",
"Status": "default",