Lurker News

Comments (198) 67 threads

Show all comments

Showing thread 3 of 67

trinovantes12 replies#
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
greentfrapp#
TIL! +100
3OCSzk#
Adding to the protip: there is https://mycroftproject.com that is full of premade custom search engines to save you the hassle of making them manually
jackallis1 reply#
can you expand that further how to for the non-initiated.
ayush0001 reply#
How exactly did you do that?
prepostertron1 reply#
Should be under Chrome Settings -> Search engine -> Manage search engines and site search -> Site search.

You can add your custom search with the %s placeholder, a shortcut to use in the address bar, and name.

halfjoking#
Also available in Edge. I had to add Brave Search manually to set it as the default search.
phrz#
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.
cwillu#
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.
sedatk1 reply#
Doesn't work with Edge :(
sccxy1 reply#
Settings - "Manage search engines" - Add new one

Works very well with any site.

sedatk#
Awesome, I didn't know search engine settings had "keyword" feature. Thanks!
nvrspyx2 replies#
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.

To see other Reddit options, !bangs Reddit.
https://duckduckgo.com/bang

NAHWheatCracker1 reply#
It's too bad they have !r go the the Reddit search page, which is famously bad.

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.

boomboomsubban#
From further down this post, !ddgr works too.
xigoi1 reply#
What do the parameters do?

Continue this thread — 1 reply

Beta-72 replies#
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.
modernerd1 reply#
You can submit your own for consideration if you have a custom one in mind that might be helpful to others:

https://duckduckgo.com/newbang

Beta-7#
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.
kzrdude#
Great that you got to know it. "Mozilla keywords" is an age-old feature, probably from before firefox existed.
layer8#
On mobile I use global (OS-level) text abbreviations to auto-convert “sr” to “site:reddit.com”.
layer8#
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.
RheingoldRiver#
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...