Windows Search Guide

Windows Search Guide – a (very beta) page is up for adding search engines to the search box in Internet Explorer 7. Note that at the time of this writing the OpenSearch Description files they’re using are in v1.1 draft 1, which they’ll hopefully upgrade appropriately. Also they’re declaring that the results are in RSS, when they are actually in HTML.

Anyhow, now that there are two browsers (okay, so IE7 hasn’t been released yet…) that support adding search engines via javascript, here’s a single javascript function that handles both of them. It assumes you have three files – .src plugin file and a 16×16 icon, and an OpenSearch Description file. There’s a .src to OpenSearch Description file converter I wrote on

function addEngine() {
  try {
      '', 'Example Search Engine', 'Category Name');
  catch (e) {
    try {
    catch (e) {
      alert('Internet Explorer 7, Firefox, Mozilla, Netscape 6 or higher,
        or Camino is needed to install a search engine.');

personal notes for later:

Manually Editing Opera Searches using search.ini
Opera Search.ini Editor 1.25

Add Mozilla-like keyword functionality to Safari’s search bar (a hack)
AcidSearch 0.61

This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

2 Responses to Windows Search Guide

  1. J-RaZ says:

    Maybe I’m just stupid, but this script doesn’t seem to be working… I’ve added it to my page header and tested it on FF1.5 and IE7 beta browsers. No go. What link code are are you using to make this work? Anyway, it would be cooooool if you could get the script to work. Cheers!

  2. mfagan says:

    Thanks for trying it out. I’ll see if I can find what the problem is.

Comments are closed.