Google Bangs

Easily add DuckDuckGo bangs to Google.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
kriscross07
Daily installs
0
Total installs
318
Ratings
5 0 0
Version
1.5
Created
2015-07-21
Updated
2015-09-02
Size
1.91 KB
License
N/A
Applies to

In DuckDuckGo, there are things called "bangs" which allow you to easily go to sites by typing an exclamation point and the bang. For example, in DuckDuckGo you could type "!gh jQuery" and it would search GitHub for jQuery.

This script allows you to easily add bangs in Google. All you need to do is install and edit the script and in the bangs section add "new Bang(bang,URL when they don't search,URL when they do search,character to replace spaces with);". For example you could add "new Bang('yahoo','https://search.yahoo.com','https://search.yahoo.com/search?p=','+');" and if you search google or type in the address bar (if you have Google as your default search engine) "!yahoo blah blah blah" it will search Yahoo for "blah blah blah". The "yahoo" parameter means when the user's search starts with "!yahoo", and they don't put anything after that, it will take you to "https://search.yahoo.com". But if your search starts with "!yahoo" and you put something after it, such as "!yahoo greasy fork", it will take you to "https://search.yahoo.com/search?p=" plus "greasy fork", and because of the "+" parameter, it will replace spaces with "+", so it will take you to "https://search.yahoo.com/search?p=greasy+fork". The script already comes with a few bangs, so hopefully they will help you.