Skip to content

Instantly share code, notes, and snippets.

@squarism
Last active January 31, 2026 18:59
Show Gist options
  • Select an option

  • Save squarism/57a471c04b73099a64338fbc9d59e22e to your computer and use it in GitHub Desktop.

Select an option

Save squarism/57a471c04b73099a64338fbc9d59e22e to your computer and use it in GitHub Desktop.
Block TechLead on YouTube
! this blocks channels in search results and suggestions
! or, How to block a single Youtube channel using ublock origin
! anytime Youtube changes their page, this will break, I will try to keep it updated
! but tampermonkey might be better because you could have a list
! put the below in your uBlock origin My Filters section
! if you want to block more channels, duplicate these lines and change "TechLead" to whatever the channel name is
! blocking channels (as a millionaire)
youtube.com##ytd-video-renderer:has(a[href*="TechLead"])
youtube.com##ytd-rich-item-renderer:has(a[href*="TechLead"])
youtube.com##ytd-channel-renderer:has(a[href*="TechLead"])
youtube.com##yt-lockup-view-model:has(.yt-content-metadata-view-model:has-text(TechLead))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment