Hacker News new | ask | show | jobs
by brainopener 3233 days ago
I've sort of switched...

DuckDuckGo has !bangs. If you search for "!so javascript", then you just end up on stackoverflow.com with a search term of "javascript". There's dozens (hundreds?) of these !bangs -- including !g if you want to run the search on Google.

So I've installed this extension below for Safari. I use the !bangs in the address bar if I want to go somewhere specific -- !so (stackoverflow), !a (amazon), !y (stock quotes). And, otherwise, it just uses Google search.

http://tbastos.com/project/safari-bangsearch/

1 comments

Interesting.. I do something similar with the Search Engines setting in Chrome using Keywords which applies to what is typed in the omnibox.

a iphone -> searches for iphone on Amazon

w tiger -> searches for tiger on Wikipedia

You can also set up a new search engine/keyword. Example to set up Stack Overflow with the s keyword: https://stackoverflow.com/search?%s

So I can now type 's sort a string in python' and it will take me directly to https://stackoverflow.com/search?q=sort+a+string+in+python

I tend to use the tab complete feature. Works on pretty much every site I ever use search . Just start typing the url and press tab.