Files
cromite/build/patches/Enable-Do-Not-Track-by-default.patch
T
2025-05-23 17:00:12 +02:00

23 lines
954 B
Diff

From: uazo <uazo@users.noreply.github.com>
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
@@ -12,7 +12,7 @@ namespace privacy_sandbox::tracking_protection {
void RegisterProfilePrefs(PrefRegistrySimple* registry) {
registry->RegisterBooleanPref(
- prefs::kEnableDoNotTrack, false,
+ prefs::kEnableDoNotTrack, true,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterBooleanPref(
prefs::kFingerprintingProtectionEnabled, true,
--