Protip for Firefox users: you can create your own custom search engines for any website by simply creating a new bookmark of the form "https://www.google.com/search?q=%s+site:reddit.com" and set the bookmark keyword to whatever prefix you prefer e.g. "r". This config will let me search reddit by typing "r vuejs" my Firefox's address bar
xSearch for Safari is great for this on Mac and iOS. I've made a bunch of custom !bang search engines on top of those supported by DuckDuckGo. It really speeds up research on various databases.
You can do the same on chrome: right click on the url bar → manage search engines → set a keyword to the prefix you prefer and the url with %s for the search term in the same way.
For DuckDuckGo users, you can just use a !bang. !r for searching on Reddit directly, !sr to go to a specific subreddit, !searchr for searching Reddit through DDG, and !greddit for searching Reddit through Google.
This is amazing. I've been using DDG mostly for the bangs and really wished there was a way to add custom bangs (I suggested them to DDG, but never got a response). This is just what i needed.
That's what i meant by suggesting a bang. The bang was the equivalent of `!dictionary`, but in my native language. I guess not enough people here use DDG for it to be considered.
This isn’t really relevant anymore, but even Internet Explorer had that feature ("SearchUrl") since IE3 in 1996. While not well-known, it’s a must-have browser feature IMO.
Though there's some risk of it going away in an upcoming patch, you can also use JavaScript and do pretty much anything you want in a bookmarklet keyword, creating very powerful "advanced searches" for yourself. I have a few examples outlined here - https://river.me/blog/firefox-keep-bookmark-keywords/#bookma...
Comments (198) 67 threads
Show all comments
Showing thread 3 of 67
Basically Firefox substitutes the text of your query into the %s part of the bookmark URL
I use the shortcut "rs" for https://www.google.com/search?q=%s+site:reddit.com for searching reddit, and the shortcut "r" to go directly to the subreddit: https://www.reddit.com/r/%s
You can add your custom search with the %s placeholder, a shortcut to use in the address bar, and name.
Works very well with any site.
To see other Reddit options, !bangs Reddit.
https://duckduckgo.com/bang
I didn't know about !searchr, wish it was shorter. At least it's better than what I've been doing which is typing out site:reddit.com.
...my default/ basic DDG search. I ublock all the graphics and stuff, too.
Continue this thread — 1 reply
https://duckduckgo.com/newbang