在firefox目录searchplugins下建立以下文件(比如是 C:\Program Files\Mozilla Firefox\searchplugins )

dangdang.xml , 以utf-8保存,就可以为firefox添加当当购物搜索

<?xml version="1.0" ?>

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
        <ShortName>当当网</ShortName>
        <Description>当当网</Description>
        <InputEncoding>GB2312</InputEncoding>
        <Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAEACABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAQAEAAAAAAAAAAAAAAAEAAAAAAAAAAAAA////AF/jtwBf5LcAYOO3AGDktwBg5LgAu/LgAPv7/AAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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image>
        <Url type="text/html" method="GET" template="http://search.dangdang.com/search.aspx">
            <Param name="key" value="{searchTerms}"/>
              <Param name="catalog" value=""/>
            <Param name="SearchFromTop" value="1"/>
          </Url>
        <SearchForm>http://search.dangdang.com/</SearchForm>
</SearchPlugin>

 posted on 2008-10-19 21:53  加菲猫  阅读(326)  评论(0编辑  收藏  举报