henry pushed to branch tor-browser-149.0a1-16.0-2 at The Tor Project / 
Applications / Tor Browser


Commits:
0d49f501 by Henry Wilkes at 2026-03-31T17:01:01+00:00
fixup! Firefox preference overrides.

BB 44764: Hide some AI settings using `browser.ai.control.default`.

- - - - -
b100d25a by Henry Wilkes at 2026-03-31T17:01:01+00:00
fixup! BB 44045: Disable ML features.

BB 44764: Stop commenting out link preview setting controls.

- - - - -


2 changed files:

- browser/app/profile/001-base-profile.js
- browser/components/preferences/main.js


Changes:

=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -350,6 +350,13 @@ 
pref("browser.search.serpEventTelemetryCategorization.enabled", false);
 // lock the preference because the engine is excluded and the
 // "translations-models" RemoteSettings needed for the engine is empty.
 pref("browser.translations.enable", false, locked);
+// Hide some AI settings outside the "ai" setting pane. See tor-browser#44764.
+// NOTE: This preference tracks whether the *user* opted out of all AI features
+// in about:preferences. By itself, it does not provide global blocking of the
+// AI features, which are often controlled by separate preferences below.
+// However, some parts of the UI will react to this preference. See
+// tor-browser#44541.
+pref("browser.ai.control.default", "blocked", locked);
 // Disables many (but not all) ML engines. Note, this does not have overall
 // control over exposure to ML features. tor-browser#44045.
 pref("browser.ml.enable", false, locked);


=====================================
browser/components/preferences/main.js
=====================================
@@ -3430,21 +3430,21 @@ SettingGroupManager.registerGroups({
       //   supportPage: "extensionrecommendations",
       //   subcategory: "cfrfeatures",
       // },
-      // {
-      //   id: "linkPreviewEnabled",
-      //   l10nId: "link-preview-settings-enable",
-      //   subcategory: "link-preview",
-      //   items: [
-      //     {
-      //       id: "linkPreviewKeyPoints",
-      //       l10nId: "link-preview-settings-key-points",
-      //     },
-      //     {
-      //       id: "linkPreviewLongPress",
-      //       l10nId: "link-preview-settings-long-press",
-      //     },
-      //   ],
-      // },
+      {
+        id: "linkPreviewEnabled",
+        l10nId: "link-preview-settings-enable",
+        subcategory: "link-preview",
+        items: [
+          {
+            id: "linkPreviewKeyPoints",
+            l10nId: "link-preview-settings-key-points",
+          },
+          {
+            id: "linkPreviewLongPress",
+            l10nId: "link-preview-settings-long-press",
+          },
+        ],
+      },
     ],
   },
   httpsOnly: {



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/9c9c2780989ea9ad2baf1a4f427e2756ba22bcb8...b100d25a53ad2bbcc9cb707b4f7820c0b297b219

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/9c9c2780989ea9ad2baf1a4f427e2756ba22bcb8...b100d25a53ad2bbcc9cb707b4f7820c0b297b219
You're receiving this email because of your account on gitlab.torproject.org. 
Manage all notifications: https://gitlab.torproject.org/-/profile/notifications 
| Help: https://gitlab.torproject.org/help


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to