Hacker News new | ask | show | jobs
by velut 1076 days ago
This is one of my favorite features that I use daily.

I use the URL "https://www.google.com/search?q=site:ycombinator.com+%s" to search content from HN, and "https://www.google.com/search?q=site:reddit.com+%s" to search on Reddit. I also have "https://www.npmjs.com/package/%s" to directly go to a package page on npm.

2 comments

Btw if you also use DuckDuckGo, you can start your search with "!hn" and "!r" bangs: https://duckduckgo.com/bangs
And you can go full circle, adding DDG's bangs as bookmark keywords on Firefox!

https://www.ghacks.net/2022/01/13/use-all-of-duckduckgos-ban...

https://github.com/jameshealyio/bang-bookmarks/

You can replicate DDG's bangs in Chrome too: https://jerrynsh.com/how-to-google-with-a-bang/#how-to-googl...
Me too, on Microsoft Edge. Until one day an update nuked away all of my custom search keywords :(

This is probably less of a problem on firefox, where they are regular bookmarks.

Same happened to me recently. I lost my custom search keywords randomly one day
Happened after a windows update for me. I've tried to restore them, inspect the database where they should be, but they were already gone. Maybe if you have a system backup, you can find yours!

I've found this random tutorial how to mass create Edge search engines by editing the Edge database https://jeffhandley.com/2022-10-17/custom-search-engines if you want to store your search engines in a separate file in the future