about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2024-02-02 12:12:05 +0100
committeraszlig <aszlig@nix.build>2024-02-02 12:35:04 +0100
commitcad6318736d33029f186f26ce0980d70b741b029 (patch)
treeb4f8e61cde9695bd62fd2aa0b6eb6cf9c125332e
parentd763848e4b8903111189454f406f82e062235481 (diff)
firefox: Enable Global Privacy Control
This was introduced in Firefox 120.0 and essentially implements the
following specification:

https://privacycg.github.io/gpc-spec/

Similar to Do-Not-Track, it implements a header (Sec-GPC) that expresses
the persons preference to the site of whether the site may sell/share
the browsers interaction.

Since Do-Not-Track pretty much is ignored on most sites that formerly
adhered to it, I expect a similar fate for GPC, but maybe this time
things work out differently (crossing fingers).

Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r--pkgs/aszlig/firefox/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/aszlig/firefox/default.nix b/pkgs/aszlig/firefox/default.nix
index fdad8cda..5ab581cb 100644
--- a/pkgs/aszlig/firefox/default.nix
+++ b/pkgs/aszlig/firefox/default.nix
@@ -88,6 +88,7 @@ in wrapFirefox firefoxNoSigning {
     lockPref('network.captive-portal-service.enabled', false);
     lockPref('network.connectivity-service.enabled', false);
     lockPref('privacy.donottrackheader.enabled', true);
+    lockPref('privacy.globalprivacycontrol.enabled', true);
     lockPref('privacy.query_stripping.enabled', true);
     lockPref('privacy.query_stripping.enabled.pbmode', true);
     lockPref('privacy.query_stripping.strip_list', '${toString [