]> gitweb.michael.orlitzky.com - firefox-user-prefs.git/commitdiff
ai,makefile: new "ai" file to disable AI features
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 28 Feb 2026 17:30:14 +0000 (12:30 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 28 Feb 2026 17:30:14 +0000 (12:30 -0500)
ai [new file with mode: 0644]
makefile

diff --git a/ai b/ai
new file mode 100644 (file)
index 0000000..82ac501
--- /dev/null
+++ b/ai
@@ -0,0 +1,31 @@
+/* AI controls in firefox >= 148 */
+
+
+/* Disable everything. A few of these are feature-gated and
+ * off by default (for now), but this cannot be trusted.
+ *
+ * References:
+ *
+ * 1. https://www.askvg.com/how-to-disable-and-remove-all-ai-features-in-mozilla-firefox/
+ *
+ */
+user_pref("browser.ai.control.default", false);
+user_pref("browser.ai.control.linkPreviewKeyPoints", "blocked");
+user_pref("browser.ai.control.pdfjsAltText", "blocked");
+user_pref("browser.ai.control.sidebarChatbot", "blocked");
+user_pref("browser.ai.control.smartTabGroups", "blocked");
+user_pref("browser.ai.control.translations", "blocked");
+user_pref("browser.ml.chat.enabled", false);
+user_pref("browser.ml.chat.page", false);
+user_pref("browser.ml.chat.shortcuts", false);
+user_pref("browser.ml.enable", false);
+user_pref("browser.ml.linkPreview.enabled", false);
+user_pref("browser.ml.pageAssist.enabled", false);
+user_pref("browser.ml.smartAssist.enabled", false);
+user_pref("browser.tabs.groups.smart.enabled", false);
+user_pref("browser.search.visualSearch.featureGate", false);
+user_pref("browser.urlbar.quicksuggest.mlEnabled", false);
+user_pref("browser.urlbar.yelp.mlEnabled", false);
+user_pref("extensions.ml.enabled", false);
+user_pref("places.semanticHistory.featureGate", false);
+user_pref("sidebar.revamp", false);
index f1c2a26be7b638afd632a95258021cbecfa61d82..3b8ee5aa9a1e967b658aaad585c5efad65ec8b02 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,5 +1,6 @@
 OUTPUT = user.js
 SRCS =         \
+  ai           \
   certificates \
   cookies      \
   media        \