IE8 Rocks! Creating Custom Accelerators

Internet Explorer 8 Beta 2 is currently available.  If you haven't downloaded it yet, you can find it here.  I have been using it for about two months now and I am really enjoying some of the new features.  One of the features that I find particularly interesting is Accelerators.

Here is a brief introduction about what Accelerators are (taken directly from the IE8 site):

Accelerators give you ready access to the online services you use everyday—from any page you visit. Now you can simply select some text and then click on the blue Accelerators icon. For example, you may be interested in the location of a business featured on a webpage. In the past, you would need to copy the address from the webpage, navigate to another the webpage for a mapping service, and paste in the address. 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.


"Accelerators", Internet Explorer 8: Faster and Easier,

IE8 comes with a handful on pre-installed Accelerators as you can see from the menu above.  There are also some more available here.  You can also create your own custom accelerators quickly and easily.  The documentation for creating accelerators can be found on the Accelerators Development Guide.

I decided to create a simple one to search the MSDN Library for the text that you have selected on a page in the IE8 browser.  To create an accelerator, you just need to write an XML file that conforms to the OpenService Accelerator Schema and contains the information about the accelerator.  Here is the XML file for my MSDN Search Accelerator:

   1: <?xml version="1.0" encoding="UTF-8" ?> 
   2: <os:openServiceDescription xmlns:os="">
   3:     <os:homepageUrl></os:homepageUrl> 
   4:     <os:display>
   5:         <os:name>Search MSDN</os:name> 
   6:         <os:icon></os:icon> 
   7:         <os:description>Search the MSDN Documentation.</os:description> 
   8:     </os:display>
   9:     <os:activity category="Search">
  10:         <os:activityAction context="selection">
  11:             <os:execute action="{selection}" method="get" /> 
  12:         </os:activityAction>
  13:     </os:activity>
  14: </os:openServiceDescription>

As you can see, you just provide some basic information about the accelerator and specify the action to take when the user invokes it.  In the above example, we are just adding whatever text the user has selected to the URL for the MSDN Search site (line 11).

To install an accelerator, it has to be hosted somewhere on a web server.  It cannot be installed from the hard drive.  The code below shows a button that allows you to install an accelerator service:

   1: <button id="myButton"
   2:     onclick="window.external.AddService('')">
   3:     Add MSDN Search Accelerator to Internet Explorer 8</button>

Click the button below to install the MSDN Search Accelerator if you want to give it a try.

The MSDN Search Accelerator will now appear in your menu when you select some text on a web page in IE8.  And upon clicking, it will open a new tab with the MSDN Search results for the selected text.  The images below show the accelerator in the menu and the result of invoking the accelerator.
There are tons of uses for accelerators.  The possibilities are endless.  In addition to just linking to another web site, you could create a custom web service that users could submit information to via an accelerator for some sort of processing.  I really like the way that IE8 was designed and the easy extensibility and customization that it provides to users.  So give IE8 and accelerators a try!  If you come up with some cool accelerator ideas, let me know.  I am interested to see the ideas that people come up with.
Comments (8)

  1. thetraveller says:

    Thanks for the tip. I haven’t been using it but I will go and download it and see how I like it.

  2. Roy Edward says:


    I agree that Accelerators are great.  I have heard these referred to as mouse-based search.

    Along these lines I use something called Kallout from

    Kallout works like Accelerators but over all of the applications (as far as I can tell) on the desktop, IE, Firefox and Office.  Kallout even picks the appropriate content based on the user selection, i.e. finds the wikipedia article if it’s a famous person or the Google map if it’s an address.

    Just a tip, check it out at

    I agree with you that we’ll be seeing lots of mouse-based search as developers wise up to the power of this, however.


  3. Chris Slemp says:

    Nice, Jeremiah… thanks for doing this. We’ve also created an accelerator for MSDN Social Bookmarking here

  4. A few days ago, I wrote a post about creating custom IE8 Accelerators .&#160; I thought that I would

  5. I just started dabbling with this new feature of IE 8 and when I wrote my first accelerator which is basically a carbon copy of this except for the home url, icon, and description.  but when i try to install the accelerator:

    Internet Explorer could not install this accelerator.

    There was a problem with the Acccelerator’s information.

    I searched for solutions that has the same problem but to no avail.


  6. OK.  now i figured it out.  the execute portion should ALSO be in the base url…so i need to duplicate what does.

Skip to main content