Not that I have to tell anyone, but this is tremendously useful for filtering out the flood of over-optimized garbage sites polluting the search indices nowadays.

For installation instructions see the link. (Tl;dr: Install the browser extension TamperMonkey, then click the green “Install this script” button on the page.)

(While there are also browser extensions for filtering search results, even ones that are purportedly open-source, the problem is that one has to trust that the program one installs is the same as the code in the github repository. With user scripts, on the other hand, one can see exactly which code gets installed and run, so that one only has to trust the Tampermonkey extension, and this extension is recommended by the Chrome web store and monitored for security by the Firefox web store.)

  • NutinButNet
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 days ago

    I’ve been looking for something like this to block Reddit links. Not just because it’s trash now but I’ve found it randomly blocks my IP address. Sometimes I can access and other times I can’t. It’s blocked us entirely at work and is so frustrating when I’m looking for help on something I’m troubleshooting. Would rather those just not appear to begin with.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 days ago

      Add -site:reddit.com to your search terms?

      Doesn’t work if you have a ton of domains that you don’t want, but fine if it’s just one.

      • NutinButNet
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 days ago

        I tried that and it doesn’t work the times I’ve tried.

        • tal@lemmy.today
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 days ago

          It works on Google for me. Probably some search engines out there don’t use that syntax, though.