让你的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进行搜索了。
posted @ 2006-06-02 22:03 Colin Han 阅读(298) 评论(1)  编辑 收藏 所属分类: 其它

  回复  引用  查看    
#1楼 2006-06-04 16:58 | yicone      
你帮了大忙了,我一直想为这个问题找答案呢。非常感谢。

标题  
姓名  
主页
Email (只有博主才能看到) 
验证码 *  看不清,换一张 [登录][注册]
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
该文被作者在 2006-06-05 09:25 编辑过
 

另存  打印