zoukankan      html  css  js  c++  java
  • 浏览器搜索引擎设置研究

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

    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的内容

  • 相关阅读:
    禁止网页后退
    C# 数组排序
    SQL求往年的工资和
    手机的隐秘功能
    C#中的String类
    C#修饰符
    Application,Session,Cookie,ViewState和Cache区别
    css margin和padding的区别
    php常见的js正则表达式
    js 正则表达式基础篇
  • 原文地址:https://www.cnblogs.com/bluestorm/p/3209806.html
Copyright © 2011-2022 走看看