mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-14 04:19:23 +01:00
64 lines
2.7 KiB
JavaScript
64 lines
2.7 KiB
JavaScript
|
// Remember to start writing at line 2. This is my second attempt at Firefox
|
||
|
// autoconfig after being taught by LibreAwoo, but this time I am trying to
|
||
|
// avoid duplicating my browser policy, which you can find from the same
|
||
|
// repository, etc/firefox/policies/policies.json
|
||
|
|
||
|
// If autoconfig is not found, fallback. Also means this file.
|
||
|
pref("autoadmin.failover_to_cached", true);
|
||
|
pref(
|
||
|
"autoadmin.global_config_url",
|
||
|
"https://gitea.blesmrt.net/mikaela/shell-things/raw/branch/master/conf/firefox-forbidden-policies.js",
|
||
|
);
|
||
|
pref("autoadmin.offline_failover", true);
|
||
|
pref("autoadmin.refresh_interval", 120);
|
||
|
|
||
|
// Automatically click cookiebanners although uBlock Origin might block them
|
||
|
pref("cookiebanners.bannerClicking.enabled", true);
|
||
|
pref("cookiebanners.service.mode", 2);
|
||
|
pref("cookiebanners.service.mode.privateBrowsing", 2);
|
||
|
|
||
|
// Play animated images only once, accessibility.
|
||
|
pref("image.animation.mode", "once");
|
||
|
|
||
|
// Spoof en-US as language to scripts
|
||
|
pref("javascript.use_us_english_locale", true);
|
||
|
|
||
|
// DNT although PrivacyBadger from policy handles this
|
||
|
pref("privacy.donottrackheader.enabled", true);
|
||
|
pref("privacy.donottrackheader.value", 1);
|
||
|
|
||
|
// More tunable privacy.resistfingerprinting. I have lost the privacy game
|
||
|
// many times before this point, so this is nothing.
|
||
|
pref("privacy.fingerprintingProtection", true);
|
||
|
pref(
|
||
|
"privacy.fingerprintingProtection.overrides",
|
||
|
"+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack",
|
||
|
);
|
||
|
pref("privacy.fingerprintingProtection.pbmode", true);
|
||
|
// (Incompatible with the above)
|
||
|
pref("privacy.resistFingerprinting", false);
|
||
|
pref("privacy.resistFingerprinting.block_mozAddonManage", true);
|
||
|
// Letterboxing from Tor Browser, I like it in general.
|
||
|
pref("privacy.resistFingerprinting.letterboxing", true);
|
||
|
// Still Incompatible with the above
|
||
|
pref("privacy.resistFingerprinting.pbmode", false);
|
||
|
|
||
|
// Enable containers without extensions (although those are forced by the
|
||
|
// policy. TODO: Remove these as they are in the policy, but disallowed by
|
||
|
// current ESR
|
||
|
pref("privacy.userContext.enabled", true);
|
||
|
pref("privacy.userContext.ui.enabled", true);
|
||
|
|
||
|
// Enables reading mode for all pages (at least in theory)
|
||
|
pref("reader.parse-on-load.force-enabled", true);
|
||
|
|
||
|
// Ensure OCSP stapling is enabled, especially if the server has it
|
||
|
pref("security.ssl.enable_ocsp_must_staple", true);
|
||
|
|
||
|
// TODO: Consider removing this when ESR updates as only it needs this for
|
||
|
// ECH, which is otherwise the default=
|
||
|
pref("security.tls.ech.grease_http3", true);
|
||
|
|
||
|
// No making configuration on the last line of the file!
|
||
|
//
|