From 72fa55f0df856deb94fd3f66b66ae88fc250b988 Mon Sep 17 00:00:00 2001
From: Morgan <morgan@torproject.org>
Date: Thu, 29 Aug 2024 00:50:20 +0000
Subject: [PATCH] fixup! Firefox preference overrides.

Bug 42687: Disable contentRelevancy component
---
 browser/app/profile/001-base-profile.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/browser/app/profile/001-base-profile.js b/browser/app/profile/001-base-profile.js
index 13ad54f2a1ac5..2a3708c540c25 100644
--- a/browser/app/profile/001-base-profile.js
+++ b/browser/app/profile/001-base-profile.js
@@ -290,6 +290,11 @@ pref("browser.preferences.moreFromMozilla", false);
 pref("extensions.screenshots.disabled", true);
 pref("extensions.webcompat-reporter.enabled", false);
 
+// Disable contentRelevancy component (which itself is gated on Nimbus) (tor-browser#42867)
+pref("toolkit.contentRelevancy.enabled", false;
+pref("toolkit.contentRelevancy.ingestEnabled", false);
+pref("toolkit.contentRelevancy.log", false);
+
 pref("browser.search.region", "US"); // Disable GeoIP search lookups (#16254)
 // Disable use of WiFi location information
 pref("browser.region.network.scan", false);
-- 
GitLab