Add a custom search engine and accelerator to ie9/ie10

Source: Internet
Author: User

Ie9/ie10 accelerators are quite convenient to use. There are a lot of available search engines and accelerators in Microsoft's Internet Explorer library, but there are also a lot of what I can't find. I found some information on the Internet and learned how to customize the "acceleration function". Here I will share my frequently used content and click it to add it successfully.

I. Common Accelerators 1. Search Engine

Add and use Google Search

Add Bing search

Add and use Baidu search

2. music and video search

Add and use Baidu ting search

Add search using Google MP3

Add Douban movie search

Add Renren film search

3. Encyclopedia

Add interactive encyclopedia search

Add and use Baidu encyclopedia search

4. dictionary Translation

Add youdao dictionary

Add a query Guide

Add Bing Translation

5. Others

Add to open the selected Link

2. Do it yourself

As some netizens want to add accelerators and search engines on their own, I will share the method here. you can create your favorite accelerators and make good use of ie9's accelerators.

1. Custom Search Engine

A) edit an XML file (with any file name) in the following format:

<? XML version = "1.0" encoding = "UTF-8"?> <Opensearchdescription xmlns = "http://a9.com/-/spec/opensearch/1.1/"> <shortname> Baidu </shortname> <image width = "16" Height = "16" type = "image/X-icon"> http://www.baidu.com/favicon.ico </image> <description> Baidu, you know </description> <inputencoding> UTF-8 </inputencoding>
<URL type = "text/html" template = "http://www.baidu.com/s? WD = {searchterms} & amp; CL = 3 & amp; Ie = UTF-8 "/>
</Opensearchdescription>

 

B) Add the following code to the HTML file:

<A href = "javascript: window. External. addsearchprovider ('xml file address')"> Add Baidu search </a>
2. Custom accelerator

A) edit an XML file (with any file name) in the following format:

<? XML version = "1.0" encoding = "UTF-8"?> <OS: openservicedescription xmlns: OS = "http://www.microsoft.com/schemas/openservicedescription/1.0"> <OS: homepageurl> http://ting.baidu.com/</OS: homepageurl> <OS: Display> <OS: name> Baidu ting </OS: Name> <OS: icon> http://s3.tingimg.baidu.com/static/images/ting.ico </OS: icon> <OS: Description> Baidu ting genuine music </OS: description> </OS: Display> <OS: activity category = "Music"> <OS: activityaction context = "selection"> <OS: Execute method =" Get "Action =" http://ting.baidu.com/search? Key = {selection} "/> </OS: activityaction> </OS: activity> </OS: openservicedescription>

 

B) Add the following code to the HTML file:

<A href = "javascript: window. External. addservice ('xml file address')"> Add Baidu listener for search </a>

 

Note that encoding must be specified in the XML file. garbled characters may occur when encoding errors are specified. In addition, the & and other symbols in the string must be in the & amp; format. Otherwise, an XML format error occurs. The addition of other accelerators and search engines is similar. Check the source code on this page to see what is going on.

If you are interested, refer to the following Microsoft official help documents:

User-Defined accelerator official help documentation

Custom Search Engine official help documentation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.