Back to JS main page

BY: Justin Boyan... Justin Boyan's front door
DATE:1996-06-28



COMMENTS:
If you surf the web with Netscape 2.0, you can use JavaScript to put a handy, compact search engine interface ("SNARK") on your home page.
Note that if you leave the query field blank, pressing "GO" will take you to that search engine's home page.
It's easy to customize your SNARK's list of search engines. Inside the script, each engine is added with a command like this:
   Add("the Web: Yahoo!",
       "",
       "http://www.yahoo.com/",
       "http://search.yahoo.com/bin/search?p=hunting+the+snark" );
The four components of an engine are its name, an option string (usually empty), its home page, and its search URL. To find an engine's search URL, manually use that engine to perform a search for the special string "hunting the snark". If the URL of the search results document contains the string hunting+the+snark, then this engine can be added to your SNARK following the example above. SNARK was picked as June 1996's JavaScript of the Month by BoardWatch Magazine!
If you want this script just choose "Save Frame As..." (in Netscape) when you have the focus on the frame.

URL: http://www.oocities.org/SiliconValley/7116/jv_srch.html