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
    ·
    edit-2
    13 days ago

    Yes, I use a uBlock Origin filter that looks like this:

    lemmy.ml##.post-listing:has(.post-title:has-text(/trump|elon|musk|biden|kamala|rfk/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
  • Optional@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 month ago

    You bet! Voyager is an excellent app with filters in the Settings -> General section.

    I’ve blocked trump, vance, and elon and my feed has gotten 1000% better.

  • .Donuts@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 month ago

    I think this is only possible through apps at the moment, like Voyager. Although there has been recent talk on GitHub, they acknowledge it will take a while before it’s implemented.

  • cbAnon0@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 month ago

    It can be done using some arcane browser extensions or in apps like Voyager.

    There was a TIL post last week on similar topic. The OP shared a browser solution they found: https://lemmy.world/post/21852842

    “Quote”

    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!
  • aasatru@kbin.earth
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    This is supported in PieFed by default, in case you’re interested in checking out other Lemmy-compatible software.

    My filters kept me sane through American election season.

  • Bluetreefrog@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 month ago

    Others have talked about mobile apps, but if you are on a browser, check out Lemmytools. It also adds filter by keyword to Lemmy.

  • Rhaedas@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    At some point this might become part of the software, but for now it has to be an external filter. Some apps as mentioned, and when Kbin was starting off some users got together to create addons for it, some that would actively filter with varying success. The idea is simple, making it work well is not. There also might be addons for browsers that can help filter things, but they would need to be set up to find certain properties of the message code that are around that keyword and remove them selectively to filter cleanly.

  • schnurrito@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    1 month ago

    Look at only communities you’re subscribed to, and unsubscribe from all where talking about the topics you don’t like is allowed.

    • kubica@fedia.io
      link
      fedilink
      arrow-up
      3
      ·
      1 month ago

      It’s not as easy as it sounds, just by ignoring all news and meme communities the content slims down quite considerably.

  • EABOD25@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    13
    ·
    1 month ago

    Nope. We are everywhere. We’re in your home, your car, your job, your economy. We are many for We are Legion