Create your own custom Accelerator for Internet Explorer 8

internet-explorer-iconthumbnailInternet Explorer 8 released with lots of new exciting features like Web Slices, InPrivate Borwsing, Smart Screen Filter and many more. But i am totally impressed with one of its new feature called Accelerators.

The new Accelerators in Internet Explorer 8 help you quickly perform your everyday browsing tasks without navigating to other websites to get things done. Simply highlight text from any webpage, and then click on the blue Accelerator icon that appears above your selection to obtain driving directions, translate and define words, email content to others, search with ease, and more. For example, with the “Map with Live Maps” Accelerator in Internet Explorer 8, you can get an in-place view of a map displayed directly on the page.

Have a look at the sidebar for WinSpark.net Accelerator. (All non PC who has never faced to IE8 – this Accelerator works only in Internet Explorer 8.)

You can also create your own Accelerator for your Blog/Website. Its very simple. follow these  two simple steps.

  • Create your own Accelerator XML definition file exactly like the given image and replace with your own data like HomePageURL, Display name Icon and description etc.

acc_code2

The XML file just created is called the service description file and it contains specific description about the service provider and type of service it provides. Upload this XML file to your blog and paste the URL of the XML file in the space of Addservice() method parameter. (described in step 2).

The first 2 lines define the OpenServiceFormat using the xml file version and the namespace. The namespace merely defines all elements in this specification. These lines must be in there.

<homepageUrl> : Defines the home page of the service provider.If you want to create Accelerator for www.Example.com, this link must come in homepageUrl attribute.This domain name value must match the other URLs defined in this XML file, or you will get an error when Internet Explorer 8 attempts to install the accelerator.

<display>: Defines the text that is presented to the user when they attempt to install the accelerator. And it will also appear when user will use the accelerator (see the screenshot given below). A popup window appears on the browser that shows information about the type of Accelerator.

acc_name

<name>: The child of display element & contains the name of the Accelerator.

<activity>: Describes the activities of this accelerator. The category attribute defines what the category of the accelerator such as Search, Map, Define. You can define your own category but there must be only one instance of this element.

<activityAction>: This section defines information that is specific to a context of the activity using a context attribute. The context attribute indicates on what the accelerator should act upon. It can be one of the following values:

  • Selection (default) – The text selected by the user.
  • Document – The entire document.
  • Link – The URL, if selected by the user.


<preview>:
You can preview the information without opening the site. Internet Explorer 8 will open a box where you can preview the information without actually opening the web page. The preview element defines the action for preview.

<parameter>: The <parameter> element defines the name and values you want to pass to the URL when executing a preview or execute. The {selection} is like a variable. It will be replaced by the user selected value when invoking the web service. The Type defines the parameter data type.

<execute>: This element defines the action to take upon executing the accelerator. Typically this opens a new instance of the browser and displays the results using the posted data.

Your first step is over, Now its time to step ahead.

  • Host the Accelerator XML file though an install button, Add the following code to your Homepage. (you can add this code as a widget).

button_code2

The window.external.AddService() is one of the new extensibility API in IE 8. Get more info about this method here. Replace the method URL to your XML file url.

Over. Its simple and quite interesting. Hope you will have fun creating your own accelerators and improve your browsing experience. Add WinSpark.net Accelerator to your IE8.


bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark
tabs-top
  • sorry for this noob question,but what does accelerator do?
  • calificar a los usuarios
    your blog is very good, keep up the good work.
  • Jim
    Thanks for the inspiration.
    Here's what I made:
    http://www.pressthered.com/how_to_create_an_ie8...
  • Jafar
    Is it possible to replace blue IE accelerator Icon that pops-up upon selection!

    Peace n Security upon every viewer

    It is required to change the IE Accelerator Icon that pops-up on selection. What i have tried uptill now conatins the following:

    1. IEAK, its an admin kit for the customization of IE, its great but it does not contain what i need to know...
    2. As firebug addon for mozilla, i found developer tools for IE or u could say firebug Lite, it worked but there is no sign in which i could see the any code reagrding as mentioned above....

    3. I did remove all the "temporary internet files" folder and started surfing the net again with one website n then selected some text to see that icon in the "temp internet files" folder but it does appear there...

    4. i continued my search for that icon Fades-In on selection, as some websities say that icon is saved somewhere at the PC, but i have'nt been able to uptill now...

    5. It is also said at some links that its like a plugin n as other schemas added for different types of accelerators like blog, map , mail n search, it may contain some xml file...

    5.5 The search for the source is also been conducted at the registry so that may b some source or link could be found but not yet...

    6. There is also an assumption that it might be embedded in some DLL or EXE file which i m required to know....

    7. Summarizing that i have been failed uptill now to find any schema file, any source where it is been saved on the PC n any of the web address, any registry regarding that...i m in continous search of that ,It would be greatly helpful if some1 could guide me accordingly...

    Jafar
  • Hello Mr. Jafar....

    You can get Accelerator PopUp icon from "Microsoft Internet Controls" - ieframe.dll , Located under "C:\Windows\System32" directory.
    Edit that shell using any shell editor like Resource Hacker and replace the icon.
    Reply back if you want any help regarding it. :)
  • Thanks its nice find.
  • Ed Lanphier
    Nice article on creating Accelerators.

    For readers who use Firefox and are new to IE8, I wanted your readers to be aware that Firefox has a version of Accelerators too, it is called “KALLOUT - Accelerators for Firefox” It’s available as a free add-on through Firefox. See: https://addons.mozilla.org/en-US/firefox/addon/...

    The accelerators developed for IE8 will actually work directly with KallOut-Accelerators for Firefox so users can stick with Firefox if they want and still get the benefits of the community-developed accelerators.

    EL
blog comments powered by Disqus

Newsletter:
Subscribe to our daily newsletter and get all the updates directly in your Inbox: