Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ShabinMuhammedKK/1e8fef4509e5462e4d8da13fddf9b76e to your computer and use it in GitHub Desktop.

Select an option

Save ShabinMuhammedKK/1e8fef4509e5462e4d8da13fddf9b76e to your computer and use it in GitHub Desktop.
uBlock filters for Youtube search / homepage annoyances
##Add this to uBlock Origin > My filters
#Blocks unrelated results from search
www.youtube.com##ytd-shelf-renderer:has(#title:has-text(/^\s*(People also watched|For you|Previously watched|Latest from)\s*$/))
#Blocks list of recent uploads from a channel from search
www.youtube.com##ytd-shelf-renderer.style-scope:has-text(/Latest from/)
#Blocks Mix results from search
www.youtube.com##ytd-radio-renderer
#Blocks unrelated searches from search
www.youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer:has-text(People also search for)
#Blocks Mix and Playlists from related videos on the right side
www.youtube.com##ytd-compact-playlist-renderer
www.youtube.com##ytd-compact-radio-renderer
#Blocks list of related terms at the beggining of related videos on the right side
www.youtube.com##yt-chip-cloud-renderer.style-scope
#Blocks annoyances on the start page
www.youtube.com##ytd-rich-section-renderer:has(#title:has-text(/^\s*(COVID-19 news)\s*$/))
www.youtube.com##ytd-rich-section-renderer:has(#featured-badge)
#Blocks mixes from start page
www.youtube.com##ytd-rich-item-renderer.style-scope:has-text(/Mix/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment