浏览器搜索引擎设置研究

以下是遨游浏览器搜索框设置:

http://www.google.com.hk/search?client=aff-maxthon-newtab&channel=t19&q=%us
http://www.google.com/search?&q=%us
// %us中的s即为待搜索关键字,%us中的u为unicode编码关键字,遨游默认是Unicode(UTF8)编码

有道词典: 

http://dict.youdao.com/search?q=%us&keyfrom=dict.index

海词:

http://dict.cn/search?&q=%us

 

以下是GOOGLE Chrome搜索框设置:

{google:baseURL}search?q=%s&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}ie={inputEncoding}

http://www.baidu.com/s?wd=%s&rsv_bp=0&ch=&tn=baidu&bar=&rsv_spt=3&ie=utf-8&rsv_sug3=42&rsv_sug=0&rsv_sug4=96934&rsv_sug1=2&inputT=17396

 

我们会发现,上面的URL链接+参数其实就是一个个API调用接口,当然不同的搜索引擎公司的定义可能略有不同,如%s, wdxxxx.

另外如果设置shortcut word --关键字后,以后只要在地址栏打入如:baidu xxxx, 即可在百度中搜索关键字为xxx的内容

posted @ 2013-07-24 05:37  petercao  阅读(2534)  评论(0编辑  收藏  举报