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!
Open a issue on lemmy’s GitHub: https://github.com/LemmyNet/lemmy
Done! https://github.com/LemmyNet/lemmy/issues/5188
Thank you!