Stack Overflow: Hide AI Assist latest version (currently v1.0.0)
← Back to Stylus Rules
Style Content
/* ==UserStyle==
@name Stack Overflow: Hide AI Assist
@namespace https://www.timhilton.xyz/stylus-rules/
@version 1.0.0
@description Hides AI assist prompts and elements on Stack Overflow for a traditional question-browsing experience
@author Tim Hilton
@homepageURL https://www.timhilton.xyz/stylus-rules/stackoverflow/hide-ai-assist/
@updateURL https://www.timhilton.xyz/stylus-rules/stackoverflow/hide-ai-assist/latest/hide-ai-assist.user.css
==/UserStyle==*/
@-moz-document domain("stackoverflow.com") {
h1:has(.iconAnswerAI),
h1:has(.iconAnswerAI) + *,
#mainbar > div:first-child:has(textarea#ask-stack-initial-question) {
display: none;
}
#hide-this-if-you-want {
margin-bottom: 20px;
}
#mainbar:has(textarea#ask-stack-initial-question) {
/* Negative margin compensates for the hidden AI assist section height */
margin-top: -83px;
}
}