[GH-ISSUE #313] Github "code with agent" button and StackOverflow AI chat #216

Open
opened 2026-08-06 02:13:27 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @IsHacker003 on GitHub (Jan 1, 2026).
Original GitHub issue: https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/issues/313

Looks like the repo is abandoned, so I found a way to block these on my own and I will post the rules here. This will block the "code with agent" button on the right panel when you are viewing an issue in github, the huge AI chat section at the top of the page in StackOverflow and the "AI assist" button on the left, "Ask" button in Reddit, etc. These are for uBlock origin, go to My Filters tab and paste them in the end.

! StackOverflow
stackoverflow.com##.pr48.hs1.s-textarea.flex--item.fs-body2
stackoverflow.com##.fc-black-400.ta-left.my2.fs-caption
stackoverflow.com##.mb0.fw-bold.sm\:fs-title.break-word.fs-title
stackoverflow.com##.as-start.fd-column.d-flex > .fc-black-400
stackoverflow.com##.js-ask-stack-send.fc-theme-primary-100.bg-theme-secondary-400.s-btn

! StackExchange AI assist button
*##.-link__with-icon.nav-links--link.js-gps-track.js-disable-askstack-new-link.ai-center.pl8.h32.s-block-link

! Github
github.com##.DevelopmentSection-module__developmentSectionContainer--bRXJq
github.com##.prc-Stack-Stack-UQ9k6.hide-md.hide-sm .prc-ButtonGroup-ButtonGroup-vFUrY .prc-Button-IconButton-fyge7.styles-module__appHeaderButton--lIuw9.prc-Button-ButtonBase-9n-Xk

! Reddit
reddit.com##reddit-search-large[show-ask-button]:remove-attr(show-ask-button)
||www.redditstatic.com/shreddit/search-input-desktop-client-css$css,domain=reddit.com
||www.redditstatic.com/shreddit/search-input-desktop-client-css$css,domain=www.reddit.com
Originally created by @IsHacker003 on GitHub (Jan 1, 2026). Original GitHub issue: https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/issues/313 Looks like the repo is abandoned, so I found a way to block these on my own and I will post the rules here. This will block the "code with agent" button on the right panel when you are viewing an issue in github, the huge AI chat section at the top of the page in StackOverflow and the "AI assist" button on the left, "Ask" button in Reddit, etc. These are for uBlock origin, go to My Filters tab and paste them in the end. ``` ! StackOverflow stackoverflow.com##.pr48.hs1.s-textarea.flex--item.fs-body2 stackoverflow.com##.fc-black-400.ta-left.my2.fs-caption stackoverflow.com##.mb0.fw-bold.sm\:fs-title.break-word.fs-title stackoverflow.com##.as-start.fd-column.d-flex > .fc-black-400 stackoverflow.com##.js-ask-stack-send.fc-theme-primary-100.bg-theme-secondary-400.s-btn ! StackExchange AI assist button *##.-link__with-icon.nav-links--link.js-gps-track.js-disable-askstack-new-link.ai-center.pl8.h32.s-block-link ! Github github.com##.DevelopmentSection-module__developmentSectionContainer--bRXJq github.com##.prc-Stack-Stack-UQ9k6.hide-md.hide-sm .prc-ButtonGroup-ButtonGroup-vFUrY .prc-Button-IconButton-fyge7.styles-module__appHeaderButton--lIuw9.prc-Button-ButtonBase-9n-Xk ! Reddit reddit.com##reddit-search-large[show-ask-button]:remove-attr(show-ask-button) ||www.redditstatic.com/shreddit/search-input-desktop-client-css$css,domain=reddit.com ||www.redditstatic.com/shreddit/search-input-desktop-client-css$css,domain=www.reddit.com ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/uBlockOrigin-HUGE-AI-Blocklist#216