"-domain.tld" has the side-effect that it'd not get any results from those domains then; which might not be a good idea (at least in 1% of those cases when say "-domain.tld" might be what exactly you're looking for".
inurl filters so that the result URLs must contain the keyword specified. So inurl:w3 would only show results where w3 is in the URL. It works for this use case but it's better to just use site like you mentioned.
You can't even fully rely on those operatorsike site: anymore because Google now happily serves you results from miscreants that tag their scam site urls with valid site names, so instead of getting results from only let's say mozilla.org, you also now get them from their scamsite because they appended the actual mozilla site url into their own.
I've also cobbled together a Tampermonkey script which I wittily call "HackerChoose" which allows me to similarly block domains from appearing on HN. Unfortunately my JS-foo isn't up to making it interactive, so I have to manually update the list of banned domains. But, if anyone's interested, here it is: This actual Tampermonkey stub script imports the full userscript from a location elsewhere on my hard drive. This makes it easier to maintain the list of banned domains by editing that imported file directly, rather than having to make edits from within Tampermonkey's clunky interface: https://pastebin.com/raMSWMDi This is the imported userscript. I pretty much lifted it from one someone else had made and then twiddled it a bit. So apologies to whoever the original author was, but I've forgotten where I got it, so can't give you the credit: https://pastebin.com/SbtfXEby
Comments (308) 66 threads
Earlier commentsContinue this thread — 1 reply
https://greasyfork.org/en/scripts/1682-google-hit-hider-by-d...
I've also cobbled together a Tampermonkey script which I wittily call "HackerChoose" which allows me to similarly block domains from appearing on HN. Unfortunately my JS-foo isn't up to making it interactive, so I have to manually update the list of banned domains. But, if anyone's interested, here it is:
This actual Tampermonkey stub script imports the full userscript from a location elsewhere on my hard drive. This makes it easier to maintain the list of banned domains by editing that imported file directly, rather than having to make edits from within Tampermonkey's clunky interface:
https://pastebin.com/raMSWMDi
This is the imported userscript. I pretty much lifted it from one someone else had made and then twiddled it a bit. So apologies to whoever the original author was, but I've forgotten where I got it, so can't give you the credit:
https://pastebin.com/SbtfXEby
All comments shown.
Couldn't load more comments. Check your connection and try again.