Skip to content

Instantly share code, notes, and snippets.

@czottmann
Last active September 3, 2022 18:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Example uBlock Origin filters for hiding reaction videos on youtube.com
# YT grid view
www.youtube.com##ytd-rich-item-renderer:has(yt-formatted-string[aria-label*=" REACTION "])
www.youtube.com##ytd-rich-item-renderer:has(yt-formatted-string[aria-label*=" Reaction "])
www.youtube.com##ytd-rich-item-renderer:has(yt-formatted-string[aria-label*=" REACTS "])
www.youtube.com##ytd-rich-item-renderer:has(yt-formatted-string[aria-label*=" Reacts "])
# YT list/results view
www.youtube.com##ytd-video-renderer:has(yt-formatted-string[aria-label*=" REACTION "])
www.youtube.com##ytd-video-renderer:has(yt-formatted-string[aria-label*=" Reaction "])
www.youtube.com##ytd-video-renderer:has(yt-formatted-string[aria-label*=" REACTS "])
www.youtube.com##ytd-video-renderer:has(yt-formatted-string[aria-label*=" Reacts "])
@czottmann
Copy link
Author

czottmann commented Sep 3, 2022

Open your uBlock Origin config, go to "My filters", paste the block above to the end of your filter list, and save. Adjust the spelling and/or words to your liking.

It should look something like this once you're done:

CleanShot 2022-09-03 at 20 29 52@2x

I take no responsibility for your actions here, mind. :) Enjoy your somewhat less sensational YT grid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment