Google Bangs

Easily add DuckDuckGo bangs to Google.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
kriscross07
今日安裝
0
安裝總數
318
評價
5 0 0
版本
1.5
建立日期
2015-07-21
更新日期
2015-09-02
尺寸
1.9 KB
授權條款
未知
腳本執行於

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.