给Firefox3增加baidu搜索并设置搜索默认打开新tab

默认情况下,firefox3使用Google作为搜索引擎,同时还不能直接配置添加baidu的搜索,可以找到你Firefox安装路径下的searchplugins目录,把下面的内容保存为baidu.xml放入该目录,回到firefox里面设置搜索引擎就可以了。

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>Baidu (Chs)</os:ShortName>
<os:Description>Baidu (Chs)</os:Description>
<os:InputEncoding>UTF-8</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A
/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9gFGwQ7HFL7cKcAAAI9SURBVDjL
nZPLS5RRGMZ/3zffzKRZRqQiqAy0yV2k1ipaGEIEQbSxggxq08XILgRRRHYhov6BgjbVIhEJoqCW
LSpBgki8zSV0RnM0p1FjnO9yzttinBuz84UD73MO5znPed73Nbg3JgBoAdGgAaVyWGnQOoe9fF6C
lYcFILda2UgYJz9ioqXiIDxl87B/kdGfWQAiYZtYxKlkUB4mWpftOY7w4vkyr16u8ORRiljE4WzP
PJfOJytJlC5XkP6rCAQMtIJtNT6CfoPUkmIto/E8IbWkygk8hYXKKZiZdum/vcimKpPOrmrSKcXu
tiDt+6o4faa2cCc+49Lc4i8ogBvfRURk4HVaQg1Tsn/vLxERiYZtya5pyUc0bMvxYwnpPhqX33Ou
iIhwaEAKHoR2Bmhq9lNXb/Hh3T8A+i7Oc6V3nljEYWhwlVjUYWQ4S2LGzSnQGgud+9ee9iouX9/O
QtJjV2uAvgtJJsZtAkGTxQXF3Qd1fPuaobHRYke9r8QDL6fA54PDR2qYS3hc7U0yOW7jueC5mi+f
17h5bYHHTxtIxF1CoUBJFbyis9Gwy6VzScZGHVy33PCJMYf7d/7Q1OIHI19GhZmvgggMvVlh9IeN
61Y2VzqtGRnOEp8uYdYaC1VU4A8Y2LZgmoCA1oJhGlg+ECCT0czNeiWNJEUPDANO9NQym/CYmnTY
usXkwMFqAN4OrrKc1rR1BOns2lymAE59ko0GHc/EQmmM7vfFMVV6fVTXc63Ak9xrhSWF8f8P3gWJ
2CXawYUAAAAASUVORK5CYII=</os:Image>
<SearchForm>http://www.baidu.com</SearchForm>
<os:Url type="text/html" method="GET" template="http://www.baidu.com/s?ie=utf-8&amp;oe=utf-8&amp;ct=0&amp;wd={searchTerms}">
</os:Url>
<os:Url type="application/x-suggestions+json" method="GET" template="http://www.baidu.com/s?ie=utf-8&amp;oe=utf-8&amp;ct=0&amp;wd={searchTerms}">
</os:Url>
</SearchPlugin>

另外,在firefox的搜索框里面输入内容回车会在当前tab下显示搜索结果,如果同时按住alt键可以新开tab显示搜索结果页面,但是感觉还是不方便,可以通过如下方式设置默认打开新tab窗口显示结果。
1. 在地址栏里面输入 about:config 回车进入firefox设置页面
2. 找到browser.search.openintab项,双击该项,则把默认值false修改为了true
重新打开firefox完成设置。

Category: 其他技术  Tags: ,
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
2 Responses
  1. kevin says:

    很强大,不过偶还是喜欢谷歌搜索引擎,哈哈。最近在玩google chrome

  2. Michael says:

    [Comment ID #30136 Will Be Quoted Here]

    试用了,还是有些问题的,毕竟是新东西,多家竞争对用户来说反正是好事。

  3. minecraft says:

    Do you mind if I quote a few of your articles as long as I provide credit and sources back to your website?
    My website is in the very same area of interest as yours and my visitors would certainly
    benefit from some of the information you provide here.
    Please let me know if this alright with you.

    Thanks!

  4. minecraft says:

    Write more, thats all I have to say. Literally, it seems as though you relied on the video to
    make your point. You definitely know what youre talking about,
    why waste your intelligence on just posting videos to your site when you could be
    giving us something informative to read?

  5. It’s very effortless to find out any matter on web as compared to books, as I found this
    piece of writing at this website.

  6. I was able to find good information from your blog posts.

  7. Hi! Do you know if they make any plugins to safeguard against hackers?
    I’m kinda paranoid about losing everything I’ve worked hard on. Any tips?

  8. Can you tell us more about this? I’d want to find out more details.

  9. Coconut Oil says:

    Wonderful goods from you, man. I’ve keep in mind your stuff prior to and you are just too great.
    I really like what you have bought here, really like what
    you are stating and the best way in which you say it.
    You make it entertaining and you still care for to stay it smart.

    I can’t wait to learn much more from you. This is actually a tremendous site.

  10. Unquestionably believe that that you stated. Your favorite reason appeared to be at the internet the simplest
    thing to take into account of. I say to you, I definitely get annoyed while folks think about concerns that they
    plainly do not recognize about. You controlled to hit the
    nail upon the top as neatly as defined out the entire thing without having side-effects
    , people could take a signal. Will likely be back to get
    more. Thank you

  11. I am regular visitor, how are you everybody?
    This post posted at this website is actually fastidious.

  12. Amazing! This blog looks exactly like my old one!
    It’s on a completely different subject but it has pretty much the same page layout and
    design. Superb choice of colors!

  13. I really like it when folks come together and share thoughts.

    Great site, stick with it!

  14. Heya i’m for the primary time here. I came across this board and I find It truly useful & it helped me out much.
    I hope to give one thing again and help others like you aided me.

  15. Sling TV says:

    Do you mind if I quote a few of your articles as long as I provide credit and sources back to your blog?

    My blog site is in the exact same area of interest as yours and my users would genuinely benefit from a lot of the
    information you provide here. Please let me know if this ok with you.

    Thanks!

  16. Sling TV says:

    Its like you read my mind! You seem to understand a
    lot about this, such as you wrote the ebook in it or something.
    I believe that you just could do with some percent to power the message home a bit,
    but instead of that, that is fantastic blog. A great read.
    I’ll definitely be back.

  17. Great beat ! I would like to apprentice while you amend your web site, how can i subscribe for a blog web site?
    The account helped me a acceptable deal. I have been a little bit familiar of this your broadcast offered vivid
    transparent idea

  18. Sling TV says:

    What’s up, everything is going well here and ofcourse every one
    is sharing facts, that’s actually good, keep up writing.

  19. Hey there! I could have sworn I’ve been to this website before but after reading through
    some of the post I realized it’s new to me.
    Anyhow, I’m definitely glad I found it and I’ll be book-marking and checking
    back frequently!

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image