Home  >  Article  >  Web Front-end  >  Using accelerator (Activities)_javascript tips in IE8

Using accelerator (Activities)_javascript tips in IE8

WBOY
WBOYOriginal
2016-05-16 18:27:141112browse

There is a detailed introduction to the accelerator at http://ie.microsoft.com/activities/zh-chs/default.aspx.

There are also instructions at http://msdn.microsoft.com/en-us/library/cc289789(VS.85).aspx.

Because Activities are described using XML files, XML files provide the user interface, such as how the browser communicates with the server 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 an Activities, we only need an Activities Xml file, and then a window.external.AddService('Activiites xml file'), which is simple and easy to use.

For example: If we need to use the blog garden's Zhaozongkan in IE8 browser, we need to configure the following xml file, if it is named cnblogs.xml

Copy code The code is as follows:


xmlns:os="http://www.microsoft.com/schemas/openservicedescription/1.0">
http://zzk.cnblogs.com/

Go to cnblogs and search
So, Then... then, Then there it is.
http://www.cnblogs.com/favicon.ico









Use an event to trigger onclick="window.external.AddService('cnblogs.xml')". After triggering, the following interface will pop up

Using accelerator (Activities)_javascript tips in IE8

Then we can use it just like using the word delineation function of Kingsoft PowerWord, the effect is as follows

Using accelerator (Activities)_javascript tips in IE8

Right-click in IE8-->All accelerators-->Manage accelerators to manage existing accelerators, as follows

Using accelerator (Activities)_javascript tips in IE8

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn