this post was submitted on 10 Nov 2024
58 points (86.2% liked)

todayilearned

1183 readers
1 users here now

See [email protected]

founded 2 years ago
 

I did this on Firefox, but I suspect it may work in other browers too.

  1. Install the Violentmonkey extension. Tampermonkey or Greasemonkey will also do.
  2. Install the Lemmy tools script.
  3. Browse to Lemmy
  4. Click on the screw driver icon on the LemmyTools bar that is now visible on the Lemmy page.
  5. Scroll down and check the box next to "Content Blocking"
  6. Add your block words in the "Add filters seperated by commas." box. I typed "Trump, Vance" Voila!
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 month ago (1 children)

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)

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

How would you add more terms?
"/Trump/Musk/i" or "/Trump, Musk/i"

[–] [email protected] 3 points 1 month ago (1 children)

You need to duplicate the whole thing and just replace the filter word with some other

[–] [email protected] 2 points 1 month ago

That works, thank you so much!