Hey everyone! I know you can block instances or maybe communities, not sure exactly how to do that but also is there a way to block topics or keywords as well? I don’t live in the US, and I find too many posts/comments are about US politics, trump, or capitalism. To each their own and I’m sure it’s relevant for many, but if there’s a way to stop seeing those it would make my Lemmy experience more enjoyable. Thanks for any help you could provide!

  • drspod@lemmy.ml
    link
    fedilink
    arrow-up
    22
    ·
    16 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