Last active
June 30, 2026 09:22
-
-
Save krc/976bb616f50e03efe5456c8c78673f31 to your computer and use it in GitHub Desktop.
Custom static rules for uBlock Origin for blocking some "AI" and other annoying screen elements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! 2025 https://store.steampowered.com | |
| ! Remove "open in steam" banner | |
| store.steampowered.com##.banner_open_in_steam | |
| ! Nov 3, 2025 https://www.youtube.com | |
| www.youtube.com###statement-banner-content | |
| ! Jan 24, 2026 https://www.youtube.com | |
| www.youtube.com##.ytVideoDescriptionYouchatSectionViewModelPrimaryButton > .ytSpecButtonViewModelHost | |
| ! 2026-02-23 https://www.youtube.com - changes regularly | |
| ! Remove "Ask" AI button on video page | |
| www.youtube.com##yt-button-view-model:has-text(Ask) | |
| www.youtube.com##ytd-menu-service-item-renderer:has-text(Ask) | |
| ! Remove video page "AI" summary | |
| www.youtube.com###expandable-metadata > .ytd-watch-flexy.style-scope | |
| ! Remove search page "AI" summary | |
| www.youtube.com##ytd-expandable-metadata-renderer > .ytd-expandable-metadata-renderer.style-scope | |
| ! Remove "Ask for videos any way you like" AI block | |
| www.youtube.com##ytd-talk-to-recs-flow-renderer | |
| ! For "Youtube Playables" but probably any "dismissible" e.g. "Things outside what you usually watch" etc. | |
| www.youtube.com###dismissible.ytd-brand-video-shelf-renderer | |
| www.youtube.com###dismissible.ytd-rich-shelf-renderer | |
| ! 2026-06-30 - under YT Studio - content - hover over video title/description | |
| ! - meatball menu - remove the "brainstorm for ideas" AI button | |
| studio.youtube.com##tp-yt-paper-item[test-id="brainstorm"] | |
| ! same for "Video Details" - meatball menu towards top right | |
| studio.youtube.com##tp-yt-paper-item[test-id="VIDEO_BRAINSTORM_IDEA"] | |
| ! in YT Studio, remove top right AI chat sparkle icon, between "help" and "notifications" | |
| studio.youtube.com##ytcp-creator-chat-trigger | |
| ! 2025 https://www.twitch.tv - Remove top carousel on front page | |
| www.twitch.tv##.front-page-carousel.hpFekz.Layout-sc-1xcs6mc-0 | |
| ! 2025 https://www.amazon.com - Disable "Rufus" AI bot | |
| ! Rufus button on top nav bar | |
| www.amazon.com##.nav-rufus-disco | |
| ! the flyout panel when you click that button | |
| www.amazon.com##.rufus-panel-container | |
| ! "Ask Rufus" section under the product images - hopefully not too broad | |
| www.amazon.com###nile-inline_feature_div | |
| ! "Looking for specific info" section | |
| www.amazon.com##div.celwidget:has-text("Looking for specific info") | |
| ! the "Customers Say" section above the reviews | |
| www.amazon.com###cr-product-insights-cards | |
| ! 2026-06-23 "Ask Alexa" text selection tool-tip pop-over | |
| www.amazon.com###rufus-ask-rufus-tooltip | |
| ! 2026-06-23 Github.com | |
| ! Copilot app ad (get the whole enclosing marketing banner div instead) | |
| github.com##div.marketing-banner | |
| ! Chat with Copilot button on top site toolbar | |
| github.com##div.CopilotItems-module__Wrapper__BFG9q | |
| ! right below the button div in the source, not visible/empty by default. Nuking anyway | |
| github.com##div.CopilotImmersiveEmbedded-module__CopilotChatContainer__Hqz45 | |
| ! 2024 https://www.reddit.com - Block popup snippet share buttong | |
| www.reddit.com##embed-snippet-share-button | |
| ! Jan 25, 2026 https://bsky.app | |
| ||live-events.workers.bsky.app/images/image-da76409d840f2e50564686b46e5490944ebb4b32-1773x707-png/compact$image | |
| ! Feb 10, 2026 https://x.com | |
| x.com##.r-12jitg0.r-rs99b7.r-j7xza8.r-5zmot.r-1e5uvyk.r-173mn98.r-13qz1uu.r-u8s1d.r-1udh08x.r-1ce3o0f.r-13awgt0.r-qo02w8.r-1867qdf.r-105ug2t.css-175oi2r | |
| x.com##a.r-1loqt21.r-1ny4l3l.r-13qz1uu.r-cnw61z.r-1habvwh.r-16y2uox.r-eqz5dr.r-6koalj.css-175oi2r:nth-of-type(6) | |
| ! 2025 Generalized discourse "share quote" blocker...too broad? | |
| ##.quote-share-label.btn-flat.btn-icon-text.btn | |
| ! Google https://accounts.google.com | |
| ! 2024-02-16 Block all "log in with google" popover iframes | |
| ||accounts.google.com/gsi/iframe/select$subdocument |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment