5 ms·
One thing I always wished for is if there were a way to use duckduckgo bang searches in my browser without sending them through DDG. But apparently it's harder
by ufo 6y ago
One thing I always wished for is if there were a way to use duckduckgo bang searches in my browser without sending them through DDG. But apparently it's harder to implement than it sounds.
- iuqiddis 6y agoIn Firefox you can right click on a search field and add a keyword bookmark. Once saved, you can type 'kw search query', where kw is your defined key word, in the address bar to directly search the relevant site
- wldcordeiro 6y agoLove this feature. I've got basically all the bang keywords but instead of say `!g query` it just becomes `g <query>`.
- ufo 6y agoI'm aware of that. The problem is that you have to manually add all the keywords yourself. AFAIK, there isn't an easy way to import a large list of curated keywords like the DDG bang list.
- detaro 6y agoThey are bookmarks you can export/import from Firefox, so someone could easily make a Firefox bookmark file for a large set of them.
- takeda 6y agoYou absolutely can, at least in Firefox you can right click on search field, select "Add a Keyword for this search..." Then save it as bookmark and enter the keyword (you don't have to use !, but it is an option if you chose so). You can also create such bookmark manually and use %s in the url as a placeholder where search query should be placed. The manual configuration can be useful when there's no direct search field. For example freshports.org allows querying freebsd.org. I can add a bookmark with search keyword "fp" to point to https://freshports.org/%S https://freshports.org/%S After that I can type in address bar: fp lang/python39 to land on https://freshports.org/lang/python39 https://freshports.org/lang/python39 (the capital %S doesn't escape special characters like /)
- j-james 6y agoChromium implements this as a feature by default. Visiting a website with an OpenSearch tag in its `head` or searching on a website without one lets you later search the website itself from the urlbar by pressing "tab". It's history-based and works very well. https://www.chromium.org/tab-to-search https://www.chromium.org/tab-to-search
- dalf 6y agoFYI, searx implements the DDG bang searches (1). There is no autocompletion (for now), but at least you can all of them in one meta search engine. The syntax is slightly different: "!!g <text>" instead of "!g <text>". (1) actually based on https://github.com/jivesearch/jivesearch/tree/master/bangs https://github.com/jivesearch/jivesearch/tree/master/bangs