Jump to content

Wikipedia:Tools/Browser tools/Microsoft Internet Explorer/Searchbox on your desktop

From Wikipedia, the free encyclopedia

Description

Adds a Wikipedia search box to the Windows XP desktop. Note that this uses a feature of Windows XP that requires that Internet Explorer be installed.

Installation

  1. Open your favourite text editor, and paste the code into a new file.
  2. Save the file as an .html file (make sure the file extension is .html, not html.txt).
  3. Right-click on your desktop, and select "Properties".
  4. Click on the "Desktop" tab, then on the "Customize Desktop" button at the bottom.
  5. Click on the "Web" tab, then on the "New" button on the right side.
  6. Click "Browse" to find your file, and then "ok" after selecting it.
  7. "Click "OK" in all the related open windows to save your changes.
  8. A small box will be added to your desktop with the search box.

Code

<html>
  <body style=margin:0;overflow:hidden>
    <form action=http://en.wikipedia.org/wiki/Special:Search>
      <input
        style=position:absolute;width:1;height:1
        type=submit
        value=Go />
      <input
        style="position:absolute;width:100%;height:20;
        background:white url(wikisearch.bmp) no-repeat fixed top right;
        border:1 solid gray"
        name=search
        type=text />
    </form>
  </body>
</html>

Usage

Simply enter the search terms into the search box and press enter.