diff --git a/ansible/roles/firefox/defaults/main.yaml b/ansible/roles/firefox/defaults/main.yaml index 6517d50..1bf52d5 100644 --- a/ansible/roles/firefox/defaults/main.yaml +++ b/ansible/roles/firefox/defaults/main.yaml @@ -27,9 +27,14 @@ firefox_config: dom.battery.enabled: false # Disable that websites can get notifications if you copy, paste, or cut something from a web page, and it lets them know which part of the page had been selected. dom.event.clipboardevents.enabled: false - # Resist fingerprinting - privacy.resistFingerprinting: true # Isolates all browser identifier sources (e.g. cookies) to the first party domain, with the goal of preventing tracking across different domains. privacy.firstparty.isolate: true # Do not preload URLs that auto-complete in the address bar. browser.urlbar.speculativeConnect.enabled: false + # Do not resist fingerprinting because that tells websites to use light mode. + # https://bugzilla.mozilla.org/show_bug.cgi?id=1732114 + privacy.resistFingerprinting: true + # Instead, enable fingerprinting protection, which allows configuring an override. + privacy.fingerprintingProtection: true + # Allow sending dark mode preference to websites. + privacy.fingerprintingProtection.overrides: "+AllTargets,-CSSPrefersColorScheme"