Skip to content

Instantly share code, notes, and snippets.

@doggeddalle
Created February 19, 2026 12:37
Show Gist options
  • Select an option

  • Save doggeddalle/a959f7a7f011bf471e6487af7c0395f6 to your computer and use it in GitHub Desktop.

Select an option

Save doggeddalle/a959f7a7f011bf471e6487af7c0395f6 to your computer and use it in GitHub Desktop.
youtubecuntery.txt
youtube.com##.ytp-ce-element-show
youtube.com##.ytp-ce-element
youtube.com##.ytp-cards-teaser-text
youtube.com##.ytp-cards-button-icon-default
youtube.com##.annotation-type-text.annotation
youtube.com##.ytp-scroll-min.ytp-pause-overlay
youtube.com###offer-module > .ytd-watch.style-scope
youtube.com##.annotation-type-text.annotation-popup-shape.annotation-shape
youtube.com##.annotation-type-text.annotation-speech-shape.annotation-shape
youtube.com##.annotation-type-text.annotation-popup-shape.annotation-shape:nth-of-type(3)
youtube.com##.annotation-type-text.annotation-popup-shape.annotation-shape:nth-of-type(7)
youtube.com##.annotation-type-text.annotation-popup-shape.annotation-shape:nth-of-type(5)
youtube.com##.branding-img-container
/endscreen.js$script,domain=www.youtube.com
youtube.com/annotations_
m.youtube.com##ytm-item-section-renderer.scwnr-content:nth-of-type(1) > lazy-list > .item
youtube.com###chat
www.youtube.com###live-chat-banner > .yt-live-chat-banner-manager.style-scope:has-text(/Chat summary/i)
youtube.com##.ytp-quality-menu.ytp-panel > .ytp-panel-menu > div.ytp-menuitem:has-text(/Enhanced bitrate/i)
youtube.com##ytd-rich-section-renderer.ytd-rich-grid-renderer.style-scope:nth-of-type(1):has-text(/Playables/i)
youtube.com##ytd-rich-section-renderer.yte-hide-shorts.ytd-rich-grid-renderer.style-scope:nth-of-type(2):has-text(/Playables/i)
! Anti-adblock bypass (older but adaptable; replace date with current YYYY-MM-DD)
! 2026-02-19 https://www.youtube.com
www.youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false)
www.youtube.com##+js(set, Object.prototype.adBlocksFound, 0)
www.youtube.com##+js(set, ytplayer.config.args.raw_player_response.adPlacements, [])
www.youtube.com##+js(set, Object.prototype.hasAllowedInstreamAd, true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment