29

How would you completely hide/remove/disable "AI Assist (Labs)" from all pages? Is there any explicit or hidden option anywhere in settings?

Currently, I am using custom styles and ad-blocking features:

This is not a duplicate of 'Let us opt out of UI experiments', as it is not an experiment; opting out of UI experiments has no effect on this part of the UI.

10
  • 17
    @Wicket unrelated. 1. It's not a UI experiment 2. You can't you opt out of it. Commented Aug 18, 2025 at 12:40
  • 1
    If it's as "simple" as removing the link from the menu, there are plenty of ad blockers out there that support removal of custom items; you could just add a custom rule to yours. Commented Aug 18, 2025 at 12:42
  • 2
    @Wicket I've got 'Experiments' disabled in my Settings, and I still have the 'AI Assist' entry in the left Sidebar. => Only option I think is using 'uBlock' or similar to block/hide the HTML Element... Commented Aug 18, 2025 at 12:43
  • 6
    I clicked in this thread, hoping to have some magic to hide all the AI-generated low-quality slob... Commented Aug 18, 2025 at 12:56
  • @VLAZ It looks to me that que question scope is broader than just hidding the AI Assist link. Commented Aug 18, 2025 at 12:59
  • 3
    @Wicket I still don't see how the proposed duplicate would answer even a wider scope. There is no intersection between the AI Assist/stackoverflow.ai/Ask Stack feature and the UI experiments. The two are just completely unrelated to one another. At best a UI experiment might be a project listed in Labs but so far we haven't had a Labs project that was also govern by the experiment opt-out toggle. Commented Aug 18, 2025 at 13:07
  • 8
    There are three people who probably need to explain how the duplicate they voted for is at all applicable. Commented Aug 18, 2025 at 13:22
  • 1
    It's unclear whether there is no overlap between experiments and labs. Commented Aug 18, 2025 at 14:58
  • 7
    @Wicket OK, so the explanation is "I don't know the scope of the two features". And even if the experiment opt-out demonstrably does not affect the AI Assist menu item, you are content to continue claiming that the opt-out is nevertheless the answer here? Commented Aug 18, 2025 at 15:12
  • 2
    @VLAZ Yeah really... welcome to SO, where every question's a duplicate until proven innocent. Commented Aug 20, 2025 at 1:58

1 Answer 1

34

(See also a similar solution for hiding the Challenges counter)

There is no site setting to remove the AI Assist menu item in the left menu. There are a few workarounds:

Element blocker for uBlock Origin

(probably also applicable for other adblockers)

Add the following custom rule to uBlock Origin under "My Filters" to remove the menu item:

###nav-askstack

Userstyle

Requires using an userstyle manager like Stylus:

Direct install

/* ==UserStyle==
@name         Hide AI Assist menu item in the left menu
@description  Hides the AI assist menu item on all SE sites
@namespace    https://github.com/PurpleMagick/
@version      1
@author       VLAZ
@license      MIT
==/UserStyle== */

@-moz-document domain("stackoverflow.com"), domain("superuser.com"), domain("serverfault.com"), domain("askubuntu.com"), domain("stackapps.com"), domain("mathoverflow.net"), domain("stackexchange.com") {
    #nav-askstack { display: none !important; }
}

Userscript

If you prefer using just a userscript manager like Tampermonkey or Violentmonkey:

Direct install

// ==UserScript==
// @name            Hide AI Assist menu item in the left menu
// @description     Hides the AI assist menu item on all SE sites
// @author          VLAZ
// @grant           GM_addStyle
// @grant           GM.addStyle
// @inject-into     page
// @match           https://stackoverflow.com/*
// @match           https://serverfault.com/*
// @match           https://superuser.com/*
// @match           https://*.stackexchange.com/*
// @match           https://askubuntu.com/*
// @match           https://stackapps.com/*
// @match           https://mathoverflow.net/*
// @match           https://pt.stackoverflow.com/*
// @match           https://ja.stackoverflow.com/*
// @match           https://ru.stackoverflow.com/*
// @match           https://es.stackoverflow.com/*
// @match           https://meta.stackoverflow.com/*
// @match           https://meta.serverfault.com/*
// @match           https://meta.superuser.com/*
// @match           https://meta.askubuntu.com/*
// @match           https://meta.mathoverflow.net/*
// @match           https://pt.meta.stackoverflow.com/*
// @match           https://ja.meta.stackoverflow.com/*
// @match           https://ru.meta.stackoverflow.com/*
// @match           https://es.meta.stackoverflow.com/*
// @match           https://stackoverflowteams.com/c/*
// @namespace       https://github.com/PurpleMagick/
// @run-at          document-end
// @version         1.0.0
// ==/UserScript==

(function() {
    const addStyle = typeof GM_addStyle !== "undefined"
        ? GM_addStyle
        : GM.addStyle.bind(GM);

    addStyle(`#nav-askstack { display: none !important; }`);
})();

Workaround - hide the left menu

Technically the only on-site option to do something about the menu item is to hide it.

  1. Go to your profile preferences
  2. Switch off "Show left navigation".

Then the left menu will be collapsed. It can still be accessed from the top-left next to the site logo if really needed :

Hamburger menu at the left-most position in the top bar.

I turned off the left menu years ago and find it is very rare that I even need it. It seems to house mostly marketing-related stuff with a few links you do not necessarily need.

2
  • 8
    the added benefit of hiding the left navigation menu is that you have less noise on the page. How often does one actually need the links in that menu, certainly not often enough that you'd need the links in your face all the time I'd reckon. The downside is that you get a second hamburger icon in the topbar that is a little awkwardly placed, it has the tendency of blending a little into the logo. Commented Aug 19, 2025 at 15:22
  • 4
    @Gimby Hamburger menu overflow. Commented Aug 20, 2025 at 2:00

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.