
{"id":50017,"date":"2025-11-14T13:55:58","date_gmt":"2025-11-14T13:55:58","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=50017"},"modified":"2026-02-23T15:53:25","modified_gmt":"2026-02-23T15:53:25","slug":"disable-ai-firefox","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/11\/disable-ai-firefox\/","title":{"rendered":"How to Disable All the AI Features in Firefox Web Browser"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-46878\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/firefox-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/firefox-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/firefox-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/firefox-logo-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/firefox-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/firefox-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>Firefox introduced AI chatbot, AI powered link preview, and search images with Google Lens etc AI powered features in the past releases.<\/p>\n<p>According to the <a href=\"https:\/\/www.mozilla.org\/en-US\/privacy\/firefox\/#how-is-your-data-used\" target=\"_blank\" rel=\"noopener\">Firefox Privacy Notice<\/a>, it does NOT have access to the AI conversations or what user input, but do collect technical and interaction data, such as how often a chatbot provider or suggested prompts are used, and the length of selected text.<\/p>\n<p><!--more--><\/p>\n<p><b>UPDATE: Firefox since 148.0 has added AI Control options in its Settings page!<\/b><\/p>\n<div id=\"attachment_50018\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50018\" class=\"size-large wp-image-50018\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-ai-700x455.webp\" alt=\"\" width=\"610\" height=\"397\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-ai-700x455.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-ai-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-ai-768x499.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-ai.webp 1200w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><p id=\"caption-attachment-50018\" class=\"wp-caption-text\">AI chatbot in Firefox sidebar<\/p><\/div>\n<p>If you don&#8217;t like the AI chatbot feature, you can hide them from side-bar settings page, or remove the shortcut from the context menu of a text selection.<\/p>\n<div id=\"attachment_50020\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50020\" class=\"size-large wp-image-50020\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/hide-aichatbot-700x439.webp\" alt=\"\" width=\"610\" height=\"383\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/hide-aichatbot-700x439.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/hide-aichatbot-300x188.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/hide-aichatbot-768x481.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/hide-aichatbot.webp 1278w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><p id=\"caption-attachment-50020\" class=\"wp-caption-text\">Hide AI chatbot<\/p><\/div>\n<p>While, in this tutorial I&#8217;m going to show you how to disable them so that they will disappear along with the settings option, link preview, and image search with Google Lens.<\/p>\n<div id=\"attachment_50021\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-noai.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50021\" class=\"size-large wp-image-50021\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-noai-700x425.webp\" alt=\"\" width=\"610\" height=\"370\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-noai-700x425.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-noai-300x182.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-noai-768x466.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-noai.webp 1199w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-50021\" class=\"wp-caption-text\"><b>No AI chatbot, no configure options, and no Google Lens image search<\/b><\/p><\/div>\n<p><b>NOTE: This tutorial is tested in Ubuntu 24.04 with Firefox 145. As time go on, Firefox will release new versions and may add, remove, or change the AI related preference keys.<\/b><\/p>\n<h3>Option 1: Disable AI LLM through about:config<\/h3>\n<p>For current profile only, type <b>about:config<\/b> in address bar and hit Enter, then click the blue &#8220;Accept the Risk and Continue&#8221; button to access the advanced configuration page.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-aboutconfig.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50022\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-aboutconfig-700x368.webp\" alt=\"\" width=\"610\" height=\"321\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-aboutconfig-700x368.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-aboutconfig-300x158.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-aboutconfig-768x404.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-aboutconfig.webp 1203w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Next, <b>search following preference names and set them to &#8220;false&#8221;<\/b> one by one:<\/p>\n<ul>\n<li><code>browser.ml.enable<\/code><\/li>\n<li><code>browser.ml.chat.enabled<\/code><\/li>\n<li><code>browser.ml.chat.menu<\/code><\/li>\n<li><code>browser.ml.chat.page<\/code><\/li>\n<li><code>browser.ml.chat.page.footerBadge<\/code><\/li>\n<li><code>browser.ml.chat.page.menuBadge<\/code><\/li>\n<li><code>browser.ml.linkPreview.enabled<\/code><\/li>\n<li><code>browser.ml.pageAssist.enabled<\/code><\/li>\n<li><code>browser.tabs.groups.smart.enabled<\/code><\/li>\n<li><code>browser.tabs.groups.smart.userEnabled<\/code><\/li>\n<li><code>extensions.ml.enabled<\/code><\/li>\n<li><code>browser.search.visualSearch.featureGate<\/code><\/li>\n<\/ul>\n<p>And, it should apply the changes immediately after you set them all to false.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-disableai.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50023\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-disableai-700x373.webp\" alt=\"\" width=\"610\" height=\"325\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-disableai-700x373.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-disableai-300x160.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-disableai-768x410.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-disableai-1320x704.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/firefox-disableai.webp 1447w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Option 2: Add configuration file to disable AI features<\/h3>\n<p>If you have multiple user profiles for Firefox, and you want to disable AI for them all, then it&#8217;s better to add <b>user.js<\/b> config file instead of configuring the preference keys one by one.<\/p>\n<p>First, type <b>about:profiles<\/b> in address bar and hit Enter to access the profile management page.<\/p>\n<p>Then, click &#8220;Open Directory&#8221; button to open the Root Directory of the target user profile.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/open-profilefolder.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50024\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/open-profilefolder-700x429.webp\" alt=\"\" width=\"610\" height=\"374\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/open-profilefolder-700x429.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/open-profilefolder-300x184.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/open-profilefolder-768x471.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/open-profilefolder.webp 1033w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>In the opened folder, create <b>user.js<\/b> file if it does not exist. Finally, edit the file and write following content into it.<\/p>\n<pre>user_pref(\"browser.ml.enable\", false);\r\nuser_pref(\"browser.ml.chat.enabled\", false);\r\nuser_pref(\"browser.ml.chat.menu\", false);\r\nuser_pref(\"browser.ml.chat.page\", false);\r\nuser_pref(\"browser.ml.chat.page.footerBadge\", false);\r\nuser_pref(\"browser.ml.chat.page.menuBadge\", false);\r\nuser_pref(\"browser.ml.linkPreview.enabled\", false);\r\nuser_pref(\"browser.ml.pageAssist.enabled\", false);\r\nuser_pref(\"browser.tabs.groups.smart.enabled\", false);\r\nuser_pref(\"browser.tabs.groups.smart.userEnabled\", false);\r\nuser_pref(\"extensions.ml.enabled\", false);\r\nuser_pref(\"browser.search.visualSearch.featureGate\", false);<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/userjs.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50026\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/userjs-700x319.webp\" alt=\"\" width=\"610\" height=\"278\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/userjs-700x319.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/userjs-300x137.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/userjs-768x350.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/userjs-1320x602.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/11\/userjs.webp 1388w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After that, you may click &#8220;Launch profile in new browser&#8221; button to open Firefox window with that profile and see if it works. And, copy the <b>user.js<\/b> file to root directories for other profiles if need.<\/p>","protected":false},"excerpt":{"rendered":"<p>Firefox introduced AI chatbot, AI powered link preview, and search images with Google Lens etc AI powered features in the past releases. According to the Firefox Privacy Notice, it does NOT have access to the AI conversations or what user input, but do collect technical and interaction data, such as how often a chatbot provider [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":46878,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1194,2057],"class_list":["post-50017","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-firefox","tag-web"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/50017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=50017"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/50017\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/46878"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=50017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=50017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=50017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}