As the title says, I got tired of hearing about twitter and reddit so provide this userscript a comma separated list of keywords and you will no longer see posts containing those keywords. I’d love to see this functionality built into Lemmy itself, but until then here’s a userscript.

Repo link

  • forked_bytes@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    You could also use a ublock filter. Example:
    lemm.ee##.post-listings .post-listing:has(.post-title:has-text(/twitter|reddit/i))

  • sin_free_for_00_days@lemmy.one
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I love the idea. It’s not working for me. Violenmonkey, firefox, Linux, for what it’s worth. I’ve been wanting something like this since I started using Lemmy.

    • Zetaphor@zemmy.ccOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I’ll give violentmonkey a try, also using Firefox on Linux, though that shouldn’t be the thing that makes a difference.

      • sin_free_for_00_days@lemmy.one
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Yeah, I didn’t think any of that would make a difference. It’s just not showing under active scripts when I’m on lemmy.one

        • Zetaphor@zemmy.ccOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Fixed! Turns out it didn’t like the way I was doing wildcards in the URL match

          I’ve updated the greasyfork and the repo

        • Zetaphor@zemmy.ccOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Just verified that it does work for me with Tampermonkey/Firefox on lemmy.one

          I’ll have to look into why Violentmonkey is different, this is the first I’m hearing of that extension

          • sin_free_for_00_days@lemmy.one
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            This is annoying. Still didn’t work for me. But I uninstalled violentmonkey (not sure why I picked that one years ago, but I hadn’t had any issues before. I installed tampermonkey and it seems to be working for me. Thanks!

            • Zetaphor@zemmy.ccOP
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              That’s good that you got it working in the end. I was able to reproduce the bug and successfully test it using Violentmonkey. They’re clearly doing some things differently.

              Tampermonkey has far better UX in my opinion