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!
  • ContrarianTrail
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 days ago

    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)

    • TachyonTele
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 days ago

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