6 ms·
I'm kinda confused about the bang syntax. Chrome offers something similar to that, that I use similarly. Their search engine shortcuts allow me to do very simil
by benihana 11y ago
I'm kinda confused about the bang syntax. Chrome offers something similar to that, that I use similarly. Their search engine shortcuts allow me to do very similar stuff. I alias wikipedia to wp and simple hit command/control+l then type wp and it searches wikipedia. Does DDG just route you to the site?
- simias 11y agoyeah, it's mostly the same thing except you still bounce on ddg's servers which sounds pretty silly but in practice it means that it'll work on any browser anywhere as long as you use duckduckgo unlike custom aliases.
- dublinben 11y agoDDG has thousands of premade !bang shortcuts though. You don't have to spend any time creating unique search aliases for every one of your browsers. You (and anyone else) can directly search wikipedia with a quick !w from at DDG from any browser anywhere.
- anthony_romeo 11y agoIt also helps that even if you don't know the shorthand that, say, !py3 does a search of the python3 documentation, almost always you can type out the full name to do the search, e.g. !python3.
- tgb 11y agoChrome automatically creates these for me, though. Start typing imdb.com, once it starts autocompleting, hit tab, then type whatever I want to search. I only have to go search there once. I've been using firefox and DDG lately and I really miss this. Down side to that feature is when you search a random blog once and then two years later it's suggesting you search there again.
- hansrodtang 11y agoFirefox supports something similar, if you for example visit IMDb you can add their search via the Firefox search box and then add a keyword of your choice to use the search in the address bar. Both Firefox and Chrome use OpenSearch (http://www.opensearch.org/Home http://www.opensearch.org/Home) to achieve this.
- sesutton 11y agoIf you delete the suggestion by hitting Shift-Delete while it's highlighted.
- dublinben 11y agoThat sounds a lot like you're still creating each one yourself. Just because Chrome is suggesting that you might want to create a search shortcut, doesn't mean you're still making individual shortcuts by hand. I can directly search Audible.com (a site I've never used before) with an intuitive !audible. Then I never have to think about this shortcut ever again, because it isn't saved in my browser somewhere.
- oalders 11y agoThere's some good stuff in there. If you're searching for Perl documentation !mcpan will lead you directly to a MetaCPAN.org search page. "!mcpan Plack" is a good example.
- Nadya 11y agoThousands of premade !bangs that I would have to memorize, rather than create myself (which makes memorization much easier) Although pointless, it's fun to use my keyword "ddg" to use their bang syntax to search another site. Even if I already have that site as its own keyword. ie: There is no difference between me searching "y this searches youtube" and "ddg !y this also searches youtube" or having to actually visit ddg to search Youtube. There's no reason for me to not just use a feature already built into my browser.
- shmerl 11y agoYou can create them yourself in Firefox if you want. See http://johnbokma.com/firefox/keymarks-explained.html http://johnbokma.com/firefox/keymarks-explained.html
- Nadya 11y agoWhich is exactly what I explained I use (and why I would use them), but thank you. :) >There's no reason for me to not just use a feature already built into my browser.
- morenoh149 11y agoo.o it's intuitive imo. !g - google, !yf - yahoo finance, !cb - crunchbase, !news - google news, !yt - youtube. Sometimes I just try an abbreviation that makes sense and lo I'm correct. Plus I make ddg my default browser so I do just go to the address bar put `!yt cats` and get youtube cat videos.
- Nadya 11y agoSometimes it's about wanting a trivially shorter keyword. !h searches Hoogle; I would prefer it to search Hacker News. To search Hacker News I have to use !hnsearch or !hn !hn isn't much larger than !h but is still something I would prefer to set myself. !m goes to Google Maps but I would prefer to use another map service. I could use !mapquest but would rather it just be !m !sd goes to Slickdeals instead of Science Daily (which is !sciencedaily , talk about lengthy) E: I just compared my keywords and then searched the DDG Bang list for where I would be taken if I had used DDG instead of ones I set myself. E: >Plus I make ddg my default browser so I do just go to the address bar put `!yt cats` and get youtube cat videos. I just type "y cats" and get youtube cat videos. ;)
- josteink 11y agoThe bangs work any place in the string. They don't have to be a prefix. In Firefox you have a dedicated search bar (ctrl-k) which remembers your search across locations. So you search for "heisenbug oracle ipv6" press enter and are not immediately happy about the precision of your search. So you press ctrl-k again and append "!so". Bang, your previous search is now applied to stack overflow and you have your answer straight at spot 1. It's a very good flow. It will never work in retarded browsers who insist on removing the search bar though (like Chrome, Safari, IE). In a deeply misguided act of Chromeism, Firefox was considering going in that direction too, but the outrage in the userbase hopefully caused them to never venture that line of thought again.
- ninkendo 11y agoIt works the same way in the safari bar. If you use it to search, the search bar maintains your search string, not the URL. So you can use ⌘L on the search page, and your URL bar will be focused with the plain text of what you just searched, and you can append !g as yon would expect. And copying the search text in the URL bar actually copies the link too, which is nice.
- rylee 11y ago>It will never work in retarded browsers who insist on removing the search bar though (like Chrome, Safari, IE). Uh huh. Because they'll lose their ability to tell if something is a search or a URL because of bang parsing, right?
- BuckRogers 11y agoBut the URL changes from a search string to the URL of the results. A dedicated search bar retains what you last searched for. For example mine has "league of legends !w" at the moment. If I wanted to search on Startpage for that I just hit ctrl-k and change !w to !sp.
- anigbrowl 11y agoI suppose it saves typing, but I don't really mind doing site:news.ycombinator.com on Google.
- nsxwolf 11y agoDoesn't using DDG with Chrome negate the privacy benefits? Doesn't Chrome just report everything you do within the browser to Google anyway? I always just assume so while I'm using it.
- MacsHeadroom 11y ago>Doesn't Chrome just report everything you do within the browser to Google anyway? Yes.
- eli 11y agoWell, no, Chrome does not report "everything you do" to Google. For example, it wouldn't report what you're searching for on https://www.duckduckgo.com/ https://www.duckduckgo.com/
- deleted 11y ago[deleted]
- glitchdout 11y agoIf you are logged into Chrome and use `!g`, yes. You can even check it at https://history.google.com/history/ https://history.google.com/history/ In the past that page would even discriminate searches made with DuckDuckGo. They recently redesigned the History page to fit their Material Design look. I would hope that when I'm logged out, Chrome would not track me... And what about Chromium?
- hrehhf 11y ago> I would hope that when I'm logged out, Chrome would not track me There's several more settings under Advanced Settings -> Privacy: "Learn more" links to https://support.google.com/chrome/?p=settings_privacy https://support.google.com/chrome/?p=settings_privacy -Use a web service to help resolve navigation errors -Use a prediction service to help complete searches and URLs typed in the address bar or the app launcher search box -Prefetch resources to load pages more quickly -Automatically report details of possible security incidents to Google -Enable phishing and malware protection -Use a web service to help resolve spelling errors -Automatically send usage statistics and crash reports to Google All of these send info back to Google and can be used for tracking even when logged out. Not to mention the usual tracking in any browser. And this is just what they are up-front about.