Hacker News new | ask | show | jobs
by chrizel 1585 days ago
That’s why you should use ‘site:reddit.com’ in your search query to only get results from this domain.
1 comments

I make custom search engines for this. In Chrome, go to Settings -> Search engine -> Manage search engines -> Other search engines -> Add, then add this

Search engine: Reddit through Google

Keyword: r

URL with %s in place of query: {google:baseURL}search?q=site%3Areddit.com+%s

After that you just type "r best electric bicycle" in the top bar and it'll turn that into "site:reddit.com best electric bicycle".

I also have

    n  {google:baseURL}search?q=site%3Anews.ycombinator.com+%s
    w  https://en.wikipedia.org/wiki/Special:Search?search=%s
    wk https://en.wiktionary.org/wiki/%s
    u  https://www.urbandictionary.com/define.php?term=%s
    l  https://libgen.is/search.php?req=%s
    a  {google:baseURL}search?q=site%3Aarxiv.org+%s
    t  https://thepiratebay.org/search/%s/0/99/0
and a bunch more I never use. The LibGen one isn't great because it sometimes breaks if they get kicked off their TLD. I worry that someone could snag the domain after they get kicked off and I wouldn't notice, but that's a bit too paranoid.

Then I also have

    p  {google:baseURL}search?q=site:docs.python.org%2F3%2F+%s&btnI=I%27m+Feeling+Lucky
which goes straight to the first search result using Google's "I'm Feeling Lucky" feature (turns out that's what that button was for), but in order to avoid having to click through a redirect notice, you need to install (at your own risk) the "Redirect Google Redirects" extension: https://chrome.google.com/webstore/detail/redirect-google-re...
For Hacker News I always use https://hn.algolia.com - it has more specific sorting and filtering options. Besides HN itself it is one of my main bookmarks because I search for Hacker News discussions all the time when checking out new technology.