Skip to content

Instantly share code, notes, and snippets.

@czottmann
Last active Sep 3, 2022
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