this post was submitted on 09 Nov 2024
1 points (100.0% liked)

uBlockOrigin

794 readers
1 users here now

uBlock Origin - Free, open-source ad content blocker. Easy on CPU and memory.

Related communities: c/linux, c/opensource, c/privacy, c/firefox, c/security, c/librewolf, c/iceraven

founded 2 years ago
MODERATORS
 

Hello

It was crazy hard to find a rule that actually worked to remove any videos - so I thought I might share it with others here. There are so many old or broken Reddit and SuperUser "solutions" in the web that just do not work (anymore?).

Here is a simple rule (yet heavy on rendering time) you can add to your filterlist if you want to block videos containing a trigger word:

youtube.com##yt-formatted-string:has-text(TRIGGERWORD_HERE):upward(ytd-rich-item-renderer)

e.g: for me "Trump"

youtube.com##yt-formatted-string:has-text(Trump):upward(ytd-rich-item-renderer)

Thought that might help someone else who might be searching for this in the future.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here