LibreAwoo: move from privacy.resistfingerprinting to privacy.fingerprintingprotection & cleanup

This commit is contained in:
Aminda Suomalainen 2024-02-24 09:56:08 +02:00
parent c371f5e47b
commit f975ee9124
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 14 additions and 29 deletions

View File

@ -8,15 +8,9 @@
// and finally becoming Firefox autoconfig file copied from
// https://codeberg.org/librewolf/settings/src/branch/master/librewolf.cfg
// -----
// I often need to refer to these options which aren't yet remembered by heart
// Note to self on disabling protection of Mozilla pages. This may be a
// LibreWolf default so thus commented:
// via https://www.ghacks.net/2017/10/27/how-to-enable-firefox-webextensions-on-mozilla-websites/
pref("extensions.webextensions.restrictedDomains", "");
pref("privacy.resistFingerprinting.block_mozAddonManage", true);
//pref("privacy.resistFingerprinting.block_mozAddonManage", true);
// Block cookie banners. Warning: may result to auto-accepting cookies.
// https://www.ghacks.net/2022/12/24/configure-firefox-to-reject-cookie-banners-automatically/
pref("cookiebanners.service.mode", 2);
@ -26,32 +20,26 @@ pref("cookiebanners.bannerClicking.enabled", true);
// https://globalprivacycontrol.org/ the successor of DNT
pref("privacy.globalprivacycontrol.enabled", true);
pref("privacy.globalprivacycontrol.functionality.enabled", true);
// and DNT itself
pref("privacy.donottrackheader.enabled", true);
pref("privacy.donottrackheader.value", 1);
// -----
// I would like to use this, but forced light mode is a dealbreaker
// (floaters), UTC makes Mobilizon difficult, Privacy Badger blocks 3rd party
// canvas and I want to appear as a Finnish Linux user rather than English
// Windows NT one (telemetry, voting vs spying).
defaultPref("privacy.resistFingerprinting", true);
// Or I could excempt things from it? Other than it not overriding timezone
defaultPref("privacy.resistFingerprinting.testGranularityMask", 4);
defaultPref(
"privacy.resistFingerprinting.exemptedDomains",
"jarkkaa.fi,*.element.io,*.google.com,*.pikaviestin.fi,*.envs.net,*.wikimedia.org,*.wikipedia.org,duckduckgo.com,*.duckduckgo.com,*.blesmrt.net,*.piraatit.fi,*.piraattipuolue.fi,*.apple.com,*.op.fi,*.s-pankki.fi,*.revolut.com,*.n26.com,fedoraproject.org,*.fedoraproject.org,music.youtube.com"
);
// Conflicts with fingerprintingProtection
pref("privacy.resistFingerprinting", false);
pref("privacy.resistFingerprinting.pbmode", false);
// Enable letterboxing
pref("privacy.resistFingerprinting.letterboxing", true);
// Timezone spoofing. I cannot handle it with many pages.
pref("privacy.resistFingerprinting.spoofTimezone", false);
//pref("privacy.resistFingerprinting.spoofTimezone", false);
// Fingerprinting protection and what to not protect. Via https://superuser.com/questions/1610744/how-do-i-get-around-resistfingerprinting-setting-my-preferred-firefox-theme-to-l/1815927#1815927
pref("privacy.fingerprintingProtection", true);
pref("privacy.fingerprintingProtection.pbmode", true);
// Use all protections, except make compromises for accessibility and
// usability
pref("privacy.fingerprintingProtection.overrides", "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-JSDateTimeUTC");
// Enable Firefox accounts
defaultPref("identity.fxaccounts.enabled", true);
pref("identity.fxaccounts.enabled", true);
// Settings on what to clear on quit
// - Goal: let Element Web & co stay logged in
@ -93,10 +81,7 @@ pref("network.trr.disable-ECS", false);
pref("network.dns.echconfig.enabled", true);
pref("network.dns.use_https_rr_as_altsvc", true);
pref("network.trr.exclude-etc-hosts", false);
pref(
"network.trr.excluded-domains",
"http.badssl.com,norwegianwifi.com,mywifiext.net,tplinkrepeater.net,router.asus.com",
);
pref("network.trr.excluded-domains", "http.badssl.com,norwegianwifi.com,mywifiext.net,tplinkrepeater.net,router.asus.com",);
// Default UI scale
pref("layout.css.devPixelsPerPx", "1.5");