4 ms·
I added bangs to google by defining custom search engines with a one or two letter prefix in chrome://settings/searchEngines Now if I type "h my-search" into t
by shpx 9y ago
I added bangs to google by defining custom search engines with a one or two letter prefix in chrome://settings/searchEngines
Now if I type "h my-search" into the omnibar, it goes to google.com/search?q=site%3Anews.ycombinator.com+my-search which gives me only Google search results from HN.
This is using google's algorithm (not the search bar built into whichever website like DDG) which is still the best, especially if you constrain it to one domain name. I also don't have to type the "!"
The prefix messes up google's text prediction. I guess no one from the chromium team is using this feature, since it would be trivial to fix.
- forapurpose 9y agoThat also works with bookmark keywords in Firefox. The setting is in each bookmark's properties; it takes variables (I leave it to the reader to look up the syntax).
- shpx 9y agoHere are the ones I actually use. w https://www.google.com/search?&q=site%3Awikipedia.org+%s&btnI=I%27m+Feeling+Lucky https://www.google.com/search?&q=site%3Awikipedia.org+%s&btn... first result from wikipedia h https://www.google.ca/search?q=site%3Anews.ycombinator.com+%s https://www.google.ca/search?q=site%3Anews.ycombinator.com+%... r https://www.google.ca/search?q=site%3Areddit.com+%s https://www.google.ca/search?q=site%3Areddit.com+%s reddit y https://www.youtube.com/results?search_query=%s https://www.youtube.com/results?search_query=%s youtube m https://www.google.ca/maps/search/%s https://www.google.ca/maps/search/%s google maps b https://builtwith.com/?q=%s https://builtwith.com/?q=%s add "b " to a url to find out what tech is being used wo https://www.wolframalpha.com/input/?i=%s https://www.wolframalpha.com/input/?i=%s wolfram alpha i https://www.google.com/search?tbm=isch&q=%s https://www.google.com/search?tbm=isch&q=%s google image search g https://github.com/%s https://github.com/%s "g upspin/upspin" to jump to https://github.com/upspin/upspin.git https://github.com/upspin/upspin.git br https://github.com/Homebrew/homebrew-core/blob/master/Formula/%s.rb https://github.com/Homebrew/homebrew-core/blob/master/Formul... read homebrew formula c https://caniuse.com/#search=%s https://caniuse.com/#search=%s