Skip to content

Commit

Permalink
Enable Do-Not-Track by default
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo committed May 29, 2024
1 parent 6434bfa commit 547f3a5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions build/patches/Enable-Do-Not-Track-by-default.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From: uazo <[email protected]>
Date: Wed, 29 May 2024 13:49:01 +0000
Subject: Enable Do-Not-Track by default

License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
---
components/privacy_sandbox/tracking_protection_prefs.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/privacy_sandbox/tracking_protection_prefs.cc b/components/privacy_sandbox/tracking_protection_prefs.cc
--- a/components/privacy_sandbox/tracking_protection_prefs.cc
+++ b/components/privacy_sandbox/tracking_protection_prefs.cc
@@ -79,7 +79,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry) {
prefs::kFingerprintingProtectionEnabled, false,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterBooleanPref(
- prefs::kEnableDoNotTrack, false,
+ prefs::kEnableDoNotTrack, true,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterBooleanPref(prefs::kEnableGPC, true);
}
--

0 comments on commit 547f3a5

Please sign in to comment.