How to add DuckDuckGo bangs to Google (if you're using Chrome)
Chrome has a feature for defining your own search engines for the omni bar. It's intended for adding search boxes present on other websites, but it accepts arbitrary urls, including modified google search URLs. The URL for a google search query is just google.com/search?q=your+query+with+spaces+replaced+with+plus+signs
, which means if you bind a "search engine" like google.com/search?q=wikipedia+%s
to "w" you will automatically have the word "wikipedia" added to your search query if you search "w something". You won't even have to type the "!". Here's an example
Go to Settings → Manage Search Engines → Other search engines → ADD and then
Search engine: wikipedia
Keyword: w