Comment on Is there a way to exclude topics from what I see on Lemmy?
drspod@lemmy.ml 3 days ago
Yes, I use a uBlock Origin filter that looks like this:
lemmy.ml##div.mt-2.post-listing:has(.d-sm-block.d-none>.post-container.row>.flex-grow-1.col>.row>.flex-grow-1.col>.post-title:has-text(/trump|elon|musk|biden|kamala/i))
You’ll need to modify the domain at the start (replace lemmy.ml
with your instance hostname) and then change the keywords at the end with whatever keywords you want to exclude.
To use it:
- click the uBO icon and then the gear (settings) icon
- click on the My Filters tab
- make sure that “Enable My Custom Filters” is checked
- paste the filter into the text area below
- press the “Apply Changes” button