Skip to content

Instantly share code, notes, and snippets.

@blindstitch
Created August 25, 2022 20:04
Show Gist options
  • Save blindstitch/cc94c2c5d758df9a9351be3063abae69 to your computer and use it in GitHub Desktop.
Save blindstitch/cc94c2c5d758df9a9351be3063abae69 to your computer and use it in GitHub Desktop.
# Youtube filters for Ublock Origin
! Previews
i.ytimg.com/an_webp
youtube.com##ytd-thumbnail-overlay-loading-preview-renderer
youtube.com##.ytp-ce-element.ytp-ce-video.ytp-ce-element-show
youtube.com##.ytp-ce-element.ytp-ce-channel.ytp-ce-channel-this
youtube.com##.ytp-ce-element
youtube.com##.ytp-inline-preview-ui
youtube.com##.ytd-video-preview
youtube.com###inline-preview-player
! Activity map thing above progress bar
youtube.com##.ytp-heat-map-chapter
! The wretched mini player
!! Broken, crrently blocking with Greasemonkey script: https://openuserjs.org/scripts/ballerburg9005/Disable_YouTube_Miniplayer/source
youtube.com##.ytp-button.ytp-miniplayer-button
! "For You" spam
youtube.com##ytd-shelf-renderer.ytd-item-section-renderer:has(h2 span:has-text(For you))
! Recommendations at end of video
www.youtube.com##.ytp-videowall-still-info-bg
www.youtube.com##.ytp-endscreen-content
www.youtube.com##.ytd-mealbar-promo-renderer:upward(2)
! Anything over 1 million views, can't figure out how to get it to allow anything up to 2 million
www.youtube.com##.ytd-rich-item-renderer:has(span:has-text(/[\d.]{1,5}M views/))
! The "next" button I don't need
www.youtube.com##.ytp-button.ytp-next-button
www.youtube.com##.ytp-button.ytp-next-button
! Can't remember what this is
www.youtube.com###clarify-box
! "top comment" thing next to video information
www.youtube.com###comment-teaser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment