JSI Tip 5446. How do I direct Internet Explorer 6 address bar searches at specific search engines?

If you would like to configure your Internet Explorer 6 address bar searches to use specific search engines, you can configure multiple search engine keywords and URLs, using the registry. Then when you type Search_Engine_Keyword <Search Arguement> into the address bar, the search will be performed by the the search engine you configured for that Search_Engine_Keyword.

The Search_Engine_Keyword that you configure is stored as a sub-key at HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl. The search engine URL and argument string is configured in the unnamed (Default) Value Name, as a string (REG_SZ) data type. The search argument is represented by the %s parameter.

Example:

I have a composed a SearchUrl.reg file that will configure the AltaVista, Google, and MSN address bar searches:

REGEDIT4

\[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\]

\[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\AltaVista\]
@="http://www.altavista.com/sites/search/web?q=%s"

\[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\Google\]
@="http://www.google.com/search?q=%s"

\[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSN\]
@="http://search.msn.com/results.asp?q=%s"

When I type Google "JSI, Inc." and "Jerold Schulman" into the address bar, Google returns the search results.



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish