Activities _ javascript in IE8

Source: Internet
Author: User
In IE8, Activities makes it easier for you to use IE, and lazy people are too lazy. For more information about the accelerator, see http://ie.microsoft.com/activities/zh-chs/default.aspx.

The http://msdn.microsoft.com/en-us/library/cc289789 (VS.85). aspx also has instructions.

Because Activities are described in XML files, XML files provide user interfaces, such as how browsers communicate with servers through URL templates. Web-based services should take advantage of XML-based Activities, because XML Activities are easier to create, test, and deploy to users.

To create a Activities file, you only need an Xml file of Activities, and then a window. external. AddService ('activiites xml file'), which is easy to use.

For example, if you need to use the blog garden in the IE8 browser to find and view, you need to configure the following xml file, for example, cnblogs. xml

The Code is as follows:



Xmlns: OS = "http://www.microsoft.com/schemas/openservicedescription/1.0">
Http://zzk.cnblogs.com/</OS: homepageUrl>

Go to cnblogs for search
So, Then... Then, there will be.
Http://www.cnblogs.com/favicon.ico </OS: icon>










Trigger onclick = "window. external. AddService ('cnblogs. xml')" with an event. The following interface is displayed after the event is triggered:

Then we can use it like using Kingsoft's word naming function. The effect is as follows:

In IE8, right-click --> All accelerators --> Manage accelerators to manage existing accelerators, as shown below:

Related Article

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.