Disable AI garbage in the Firefox web browser

AI image.
An AI image depicting the computer I used to write this.

You can set Firefox settings in a "user.js" file. The file needs to be in your Firefox profile directory. An easy way to find the profile directory is to type "about:support" into the url bar, hit "Enter", and search the page for "Profile Directory". There you will find a clickable button (that might not even look much like a button, but it is) that will open the profile directory. Click it, and create a file: "user.js". Fill the file with this goodness and save it:

user_pref("browser.ml.chat.enabled",false);
user_pref("browser.ml.chat.enabled",false);
user_pref("browser.ml.chat.hideLocalhost",true);
user_pref("browser.ml.chat.maxLength",0);
user_pref("browser.ml.chat.menu",false);
user_pref("browser.ml.chat.menu",false);
user_pref("browser.ml.chat.page",false);
user_pref("browser.ml.chat.page",false);
user_pref("browser.ml.chat.shortcuts",false);
user_pref("browser.ml.chat.sidebar",false);
user_pref("browser.ml.chat.sidebar",false);
user_pref("browser.ml.enable",false);
user_pref("browser.ml.enable",false);
user_pref("browser.ml.linkPreview.enabled",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.tabs.groups.smart.userEnabled",false);
user_pref("browser.tabs.groups.smart.userEnabled",false);
user_pref("extensions.ml.enabled",false);
user_pref("browser.ml.chat.shortcuts.custom",false);

These settings will be in effect even after Firefox updates, but you will still have to check for NEW garbage AI slop settings and features that will show up after every update.

So, I did this and it changed my life.

This article was updated on January 24, 2026

Hugh Hacker