让你的Firefox使用Google.CN进行搜索

使用Firefox,默认的使用 Google.com作为搜索引擎。但是最近一段时间,使用Google.com搜索常有失败。只好退而求其次,使用被 阉割的Google.CN
但是,不能使用工具栏上的搜索,总是很不方便。使用Firefox的添加搜索引擎页面上也没有 Google.cn。只好自己研究解决。下面是解决办法:

首先找到Firefox的安装路径,一般情况下为: C:\Program Files\Mozilla Firefox。其中包含子目录:searchplugins。其中包含文件google.src。
新建一个新的文件,命名为:google-cn.src,同时,复制google.gif为google-cn.gif。打开google-cn.src编辑。内容如下:

--------------------------------------------------------------------------------------------
# Mozilla/Google plug-in by amitp+mozilla@google.com

<search
   name=" Google.CN"
   description=" Google.CN Search"
   method="GET"
   action=" http://www.google.cn/search"
   queryCharset="utf-8"
>

<input name="q" user>
<inputnext name="start" factor="10">
<inputprev>
<input name="ie" value="utf-8">
<input name="oe" value="utf-8">

<interpret
    browserResultType="result"
    charset = "UTF-8"
    resultListStart="<!--a-->"
    resultListEnd="<!--z-->"
    resultItemStart="<!--m-->"
    resultItemEnd="<!--n-->"
>
</search>

<browser
    update="https://addons.mozilla.org/searchplugins/updates/ googlecn.src"
    updateIcon="https://addons.mozilla.org/searchplugins/updates/ googlecn.gif"
    updateCheckDays="1"
>

--------------------------------------------------------------------------------------------

修改部分,我用粗体标注了。保存后,重新打开Firefox。在Firefox的搜索引擎列表中会多出一个Google.CN。以后就可以使用Google.CN进行搜索了。

转载于:https://www.cnblogs.com/Cajon/archive/2006/06/02/416215.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值