firefox: give fingerprintingprotection another chance

This commit is contained in:
Aminda Suomalainen 2024-05-21 17:42:56 +03:00
parent 3d299f96f5
commit ef2232bb2b
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 20 additions and 21 deletions

View File

@ -41,25 +41,24 @@ lockPref("privacy.donottrackheader.enabled", true);
lockPref("privacy.donottrackheader.value", 1); lockPref("privacy.donottrackheader.value", 1);
// More tunable privacy.resistfingerprinting. I have lost the privacy game // More tunable privacy.resistfingerprinting. I have lost the privacy game
// many times before this point, so this is nothing. // many times before this point, so this is nothing. For the options,
//lockPref("privacy.fingerprintingProtection", true); // refer to https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc
lockPref("privacy.fingerprintingProtection", true);
// Somehow I cannot clearPref this, so... // Somehow I cannot clearPref this, so...
//clearPref("privacy.fingerprintingProtection"); //clearPref("privacy.fingerprintingProtection");
lockPref("privacy.fingerprintingProtection", false); //lockPref("privacy.fingerprintingProtection", false);
pref(
//pref( "privacy.fingerprintingProtection.overrides",
// "privacy.fingerprintingProtection.overrides", "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack",
// "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack", );
//); //clearPref("privacy.fingerprintingProtection.overrides");
clearPref("privacy.fingerprintingProtection.overrides"); lockPref("privacy.fingerprintingProtection.pbmode", true);
//lockPref("privacy.fingerprintingProtection.pbmode", true); //clearPref("privacy.fingerprintingProtection.pbmode");
clearPref("privacy.fingerprintingProtection.pbmode");
// (Incompatible with the above) // (Incompatible with the above)
//lockPref("privacy.resistFingerprinting", false); lockPref("privacy.resistFingerprinting", false);
clearPref("privacy.resistFingerprinting"); //clearPref("privacy.resistFingerprinting");
//lockPref("privacy.resistFingerprinting.block_mozAddonManage", true); lockPref("privacy.resistFingerprinting.block_mozAddonManage", true);
clearPref("privacy.resistFingerprinting.block_mozAddonManage"); //clearPref("privacy.resistFingerprinting.block_mozAddonManage");
// 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);
// Still Incompatible with the above // Still Incompatible with the above

View File

@ -610,19 +610,19 @@
}, },
"privacy.fingerprintingProtection": { "privacy.fingerprintingProtection": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
"Status": "clear", "Status": "locked",
"Type": "boolean", "Type": "boolean",
"Value": true "Value": true
}, },
"privacy.fingerprintingProtection.overrides": { "privacy.fingerprintingProtection.overrides": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :( https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc",
"Status": "clear", "Status": "locked",
"Type": "string", "Type": "string",
"Value": "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack" "Value": "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent,-FontVisibilityRestrictGenerics,-FontVisibilityBaseSystem,-FontVisibilityLangPack"
}, },
"privacy.fingerprintingProtection.pbmode": { "privacy.fingerprintingProtection.pbmode": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
"Status": "clear", "Status": "locked",
"Type": "boolean", "Type": "boolean",
"Value": true "Value": true
}, },
@ -633,7 +633,7 @@
}, },
"privacy.resistFingerprinting": { "privacy.resistFingerprinting": {
"Comment": "Preference not allowed for stability reasons. :(", "Comment": "Preference not allowed for stability reasons. :(",
"Status": "clear", "Status": "locked",
"Type": "boolean", "Type": "boolean",
"Value": false "Value": false
}, },