diff --git a/modules/home-manager/web/firefox/conf/privacy.nix b/modules/home-manager/web/firefox/conf/privacy.nix index 3b4d987..bd8a499 100644 --- a/modules/home-manager/web/firefox/conf/privacy.nix +++ b/modules/home-manager/web/firefox/conf/privacy.nix @@ -14,7 +14,7 @@ # Block Cookies # Block 3rd-Party cookies or even all cookies. - "network.cookie.cookieBehavior" = 5; + "network.cookie.cookieBehavior" = 1; # Block Referer # Firefox tells a website, from which site you're coming (the so called RefControl @@ -81,7 +81,7 @@ # href="https://isc.sans.edu/forums/diary/Time+to+disable+WebGL/10867). WebGL is # part of some fingerprinting scripts used in the wild. Some interactive websites # will not work, which are mostly games. - "webgl.disabled" = false; + "webgl.disabled" = true; # Override graphics card vendor and model strings in the WebGL API # Websites can read the graphics card vendor and model using a WebGL API. This diff --git a/modules/home-manager/web/firefox/conf/tracking.nix b/modules/home-manager/web/firefox/conf/tracking.nix index 14c26e8..82817e3 100644 --- a/modules/home-manager/web/firefox/conf/tracking.nix +++ b/modules/home-manager/web/firefox/conf/tracking.nix @@ -5,81 +5,76 @@ # tracked. Most websites ignore this, so you need other privacy options as well. "privacy.donottrackheader.enabled" = true; "privacy.donottrackheader.value" = 1; - + # Enable resistFingerprinting - # But override CSSPrefersColorScheme to actovate theme detection - # https://github.com/allo-/ffprofile/issues/56#issuecomment-2076293964 - "privacy.fingerprintingProtection" = true; - "privacy.fingerprintingProtection.pbmode" = true; - # "privacy.fingerprintingProtection.letterboxing" = true; - "privacy.fingerprintingProtection.overrides" = "+AllTargets,-CSSPrefersColorScheme"; - "privacy.resistFingerprinting" = true; - "privacy.resistFingerprinting.pbmode" = true; - "privacy.resistFingerprinting.overrides" = "+AllTargets, -CSSPrefersColorScheme"; - # "privacy.resistFingerprinting.letterboxing" = true; - "privacy.resistFingerprinting.block_mozAddonManager" = true; - "privacy.resistFingerprinting.randomDataOnCanvasExtract" = true; - + # The privacy.resistFingerprinting setting coming from the + # tor-browser hides some system properties. See discussion in our bug tracker. + # (https://bugzilla.mozilla.org/show_bug.cgi?id=1308340">Bug #1308340 for more + # information. This option may interfere with other privacy related settings, see + # the - " But also support Tridactyl search too. - bind / fillcmdline find - bind ? fillcmdline find -? - bind n findnext 1 - bind N findnext -1 - " K and J should move between tabs. - bind J tabprev - bind K tabnext - " Binds for force reader mode - bind gfr reader - bind gfR reader --tab - set editorcmd foot -T "Edit text from Firefox" nvim %f - ''; - programs.firefox = let allExtensions = cfg.baseExtensions ++ cfg.optionalExtensions; in {