News for hackers. Stuff that matters.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by trinovantes on Thursday April 07, 2022 @12:52PM (#30947108)
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
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by nvrspyx on Thursday April 07, 2022 @01:58PM (#30948082)
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

Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by InCityDreams on Thursday April 07, 2022 @03:40PM (#30949419)
https://duckduckgo.com/?kl=wt-wt&kp=-2&kn=1&kaj=m&kay=b&kv=m...

...my default/ basic DDG search. I ublock all the graphics and stuff, too.

Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by xigoi on Thursday April 07, 2022 @04:12PM (#30949793)
What do the parameters do?
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by capableweb on Friday April 08, 2022 @04:39AM (#30954720)
Here is a list of url params duckduckgo offers: https://duckduckgo.com/params

I'm too tired to match them to parents link, but should help a little bit at least :)

Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by NAHWheatCracker on Thursday April 07, 2022 @03:09PM (#30949026)
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.

Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by boomboomsubban on Thursday April 07, 2022 @05:19PM (#30950461)
From further down this post, !ddgr works too.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by joshuamarksmith on Thursday April 07, 2022 @01:23PM (#30947597)
Works in Chrome too.

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

Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by ayush000 on Thursday April 07, 2022 @02:56PM (#30948853)
How exactly did you do that?
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by prepostertron on Thursday April 07, 2022 @03:06PM (#30948982)
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.

Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by halfjoking on Thursday April 07, 2022 @03:17PM (#30949124)
Also available in Edge. I had to add Brave Search manually to set it as the default search.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by 3OCSzk on Thursday April 07, 2022 @01:09PM (#30947377)
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
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by RheingoldRiver on Friday April 08, 2022 @12:09AM (#30953248)
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...
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by Beta-7 on Thursday April 07, 2022 @02:24PM (#30948440)
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.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by modernerd on Thursday April 07, 2022 @02:34PM (#30948580)
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

Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by Beta-7 on Thursday April 07, 2022 @02:55PM (#30948842)
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.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by kzrdude on Thursday April 07, 2022 @04:32PM (#30949972)
Great that you got to know it. "Mozilla keywords" is an age-old feature, probably from before firefox existed.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by layer8 on Thursday April 07, 2022 @03:10PM (#30949035)
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.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by cwillu on Thursday April 07, 2022 @01:32PM (#30947726)
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.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by layer8 on Thursday April 07, 2022 @02:38PM (#30948620)
On mobile I use global (OS-level) text abbreviations to auto-convert “sr” to “site:reddit.com”.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by phrz on Thursday April 07, 2022 @01:30PM (#30947696)
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.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by jackallis on Thursday April 07, 2022 @01:11PM (#30947411)
can you expand that further how to for the non-initiated.
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by trinovantes on Thursday April 07, 2022 @01:18PM (#30947529)
I posted some screenshots on my website https://www.stephenli.ca/blocking-spam-websites-from-google-...

Basically Firefox substitutes the text of your query into the %s part of the bookmark URL

Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by sedatk on Thursday April 07, 2022 @01:57PM (#30948065)
Doesn't work with Edge :(
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by sccxy on Thursday April 07, 2022 @02:09PM (#30948232)
Settings - "Manage search engines" - Add new one

Works very well with any site.

Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by sedatk on Thursday April 07, 2022 @06:08PM (#30950914)
Awesome, I didn't know search engine settings had "keyword" feature. Thanks!
Re:Show HN: Redditle.com – For those of us who add 'Reddit' ... by greentfrapp on Thursday April 07, 2022 @12:53PM (#30947118)
TIL! +100