TIL how to block all posts containing the words Trump or Vance.
TIL how to block all posts containing the words Trump or Vance.
I did this on Firefox, but I suspect it may work in other browers too.
- Install the Violentmonkey extension. Tampermonkey or Greasemonkey will also do.
- Install the Lemmy tools script.
- Browse to Lemmy
- Click on the screw driver icon on the LemmyTools bar that is now visible on the Lemmy page.
- Scroll down and check the box next to "Content Blocking"
- Add your block words in the "Add filters seperated by commas." box. I typed "Trump, Vance" Voila!
You're viewing a single thread.
All Comments
47 comments
Or...
lemm.ee##div.post-listing:has(span:has-text("/Trump/i"))
Put that into your adblocker custom filters. Just change the lemm.ee to lemmy.world (or what ever instance you're on)
5 0 ReplyHow would you add more terms?
"/Trump/Musk/i" or "/Trump, Musk/i"1 0 ReplyYou need to duplicate the whole thing and just replace the filter word with some other
3 0 ReplyThat works, thank you so much!
2 0 Reply
47 comments
Scroll to top