Google Bangs

Easily add DuckDuckGo bangs to Google.

作者
kriscross07
日安装量
0
总安装量
314
评分
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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址