I remember seeing a post on lemmy blocking posts with certain words on firefox (and its derivatives) with ublock origin.
- Open
My filterstab in ublock origin extension settings. - To block posts with word
randomonlemmy.ml, add this to text fieldlemmy.ml##div.post-listing:has(span:has-text("/random/i"))'.iafterrandom/matches case insensitively.