Accelerators are a new attribute in On-line Explorer 8 that help you do routine tasks like seeking, email, blogging, and so forth. right in the contextual menu of one's IE 8 browser.
For example,
Office Professional Plus 2010 X86, you may decide upon an deal with on a internet page,
Microsoft Office 2007 Pro Plus Key, suitable click on and preview the place immediately on the pop-up map with out needing to copy-paste that address on the separate mapping internet site. Verify the online market place Explorer ############## to get a record of beneficial Accelerators that you simply may well add in your IE 8 browser.
Methods to Create an IE 8 Accelerator
Let us publish an Accelerator that can make it possible for people today to search your site(s) straight from the contextual menu in Net Explorer 8. I will aim to keep this hassle-free but you may possibly refer to MSDN Library for technical details.
So let's start. The default HTML code of a search box inside of any ınternet site (see illustration) seems to be an item like this:
1: <form action=" 2: <input type="hidden" name="cx" value="010722013183089041389:nu0knrjwib8" > 3: <input type="text" name="q" size="28" > 4: <form>
To convert this HTML search box into an IE8 Accelerator,
Office 2010 X86 Key, open Notepad and copy paste the following code into your text editor. You could have to edit the homepage URL of the search engine (Line 3), the Accelerator name (Line 5), area of the favicon image (Line 6) and the form search parameters (Line 10-12).
one: <?xml version="one.0" encoding="UTF-8"?> 2: <openServiceDescription xmlns=" 3: <homepageUrl> 4: <display> 5: <name>Search Digital Inspiration<name> 6: <icon> 7: <display> 8: <activity category="Search"> 9: <activityAction context="selection"> 10: <execute action=" 11: <parameter name="q" value="selection" type="text" > 12: <parameter name="cx" value="010722013183089041389:nu0knrjwib8" type="text" > 13: <execute> 14: <activityAction> 15: <activity> 16: <openServiceDescription>
*The selection value on Line 11 refers to the text which you could possibly highlight on the website page before performing the search.
Now save this text file with a .xml extension and upload it to your website server (see illustration). Congratulations,
Office Pro Plus 2007 Activation! Your first IE eight Internet Accelerator is ready.
Add an IE8 Accelerator Installation Button
Now that your IE eight accelerator is ready for serving, let us add a button (or hyperlink) to our web site that guide enable IE8 users to install our accelerator into their browsers.
Text Link:
<a href="javascript
:window.external.AddService('')">I nstall Accelerator<a>
Live illustration - Install Digital Inspiration Search Accelerator
HTML Button:
<button onclick="window.external.AddService('')">Add Search Accelerator<button>
Add Digital Inspiration Search
Publish an IE 8 Accelerator with Auto-Preview
What you just saw is a plain vanilla Accelerator where you highlight text on a page and it turns that selection into a search query. You can easily do that with bookmarklets so why install an Accelerator.
A very cool function of Accelerators is auto-preview that is displayed when you hover the mouse over the accelerator name. This is handy for translating a phrase, for word meanings and so. Watch this screencast video or install the translate accelerator to understand how in-place view works.
Auto Translate to English
The preview aspect within IE eight accelerator works similar to this - you pass the document URL, selected text and other values from IE eight to an external script via the GET or POST method. The script parses these URL parameters and renders the results in an HTML net page that is then displayed within IE 8 in a 320x240 pop-up window.
That connection between the script and IE8 is made possible via the <preview> node in your accelerator - see source code.
<preview action=" >
The translate.php script takes the highlighted text, auto-detects the language and translates the selection to English using the Google Translate API. Here's the full code.
<html xmlns="
<head>
<meta http-equiv="content-type" content="texthtml; charset=utf-8">
<title>Translate to English<title>
<script src=" type="textjavascript"><script>
<script type="textjavascript"> google.load("language", "1"); function initialize() { google.language.translate("<?php echo $_GET['text']; ?>", "",
Buy Windows 7, "en", function(result) { if (!result.error) var container = document.getElementById("translation"); container.innerHTML = result.translation; }); } google.setOnLoadCallback(initialize); <script>
<head><body> <div id="translation"><div>
<body><html>
Chances are you'll replace "en" with "hi" to auto-translate selected text into Hindi, "de" for German, "fr" for French and so on.
Related: Methods to publish Internet Slices for IE 8