Full version: jsB@nk » Utility » Search-code » Many Search Engines
URL: https://www.javascriptbank.com/many-search-engines.html
This JavaScript supplies all the search engines you could ever want on one page.
Full version: jsB@nk » Utility » Search-code » Many Search Engines
URL: https://www.javascriptbank.com/many-search-engines.html
<SCRIPT language=JavaScript><!--var s45 = "default";var sT1, sT2, sT3, sT4, nTest=0;//--> </SCRIPT><SCRIPT language=JavaScript><!--function FrameIt(form) {var nOld = (parent.frames.length-1)/2;var nChosen = form.thetop.selectedIndex + 1;nTest = TheTrinity(form);var expdate = new Date ();expdate.setTime (expdate.getTime() + ( 90 * 24 * 60 * 60 * 1000));for (var i=5; i < form.elements.length; i++){ //alert(form.elements[i].checked); //.value}if ( nTest == 0)alert("Check at least one engine.");else if ( nChosen == 1 ) {top.location.href = sT1;}else if (nChosen == 2){if (nTest == 1){ OpenWinds(sT1); }else if (nTest == 2){ OpenWinds(sT1); OpenWinds(sT2); }else if (nTest == 3){ OpenWinds(sT1); OpenWinds(sT2 );OpenWinds(sT3); }else if (nTest == 4){ OpenWinds(sT1); OpenWinds(sT2);OpenWinds(sT3); OpenWinds(sT4); }}else if (nChosen == 3){if (nTest == 1){ OpenWindsBig(sT1); }else if (nTest == 2){ OpenWindsBig(sT1); OpenWindsBig(sT2); }else if (nTest == 3){ OpenWindsBig(sT1); OpenWindsBig(sT2);OpenWindsBig(sT3, "joke3"); }else if (nTest == 4){ OpenWindsBig(sT1); OpenWindsBig(sT2);OpenWindsBig(sT3); OpenWindsBig(sT4); }}return (false);}function TheTrinity(form) {var sRet;nTest=0;var sThe;sThe = form.GetNetscape.value;if (form.lycos.checked ) {sRet = ConvertString(sThe);sRet = "http://www.lycos.com/cgi-bin/pursuit?query=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.gds.checked ) {sRet = ConvertString(sThe);sRet = "http://www.gamesdomain.com/cgi-bin/wwwwais?keywords=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.nbc.checked ) {sRet = ConvertString(sThe);sRet = "http://www.nbc.com/cgi-bin/searcher?pik=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.link.checked ) {sRet = ConvertString(sThe);sRet = "http://www.linkstar.com/linkstar/bin/dosearch-linkstar?keywords=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.otxt.checked ) {sRet = ConvertString(sThe);sRet = "http://search.opentext.com/nastub?query=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.gamelan.checked ) {sRet = ConvertString(sThe);sRet = "http://www.gamelan.com/find.cgi?and=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.ticket.checked ) {sRet = ConvertString(sThe);sRet = "http://www.ticketmaster.com/cgi/AT-tickettextsearch.cgi?&mode=concept&search=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.movies.checked ) {sRet = ConvertString(sThe);sRet = "http://us.imdb.com/M/title-substring?title=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.savvy.checked ) {sRet = ConvertString(sThe);sRet = "http://williams.cs.colostate.edu:1969/nph-search?KW=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.mcp.checked ) {sRet = ConvertString(sThe);sRet = "http://www.mcp.com/nrp/wwwyp/wwwyphtml.cgi?search=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.ftp.checked ) {sRet = ConvertString(sThe);sRet = "http://ftpsearch.unit.no/ftpsearch?query=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.infou.checked ) {sRet = ConvertString(sThe);sRet = "http://ultra.infoseek.com/Titles?qt=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.meta.checked ) {sRet = ConvertString(sThe);sRet = "http://www.metasearch.com/www.cgi?p=" + sRet;AddNewString(nTest, sRet);nTest++;}if (form.excite.checked ) {sRet = ConvertString(sThe);sRet = "http://www.excite.com/search.gw?search=" + sRet +"&category=default&searchType=Concept&display='html2,high'";AddNewString(nTest, sRet);nTest++;}if (form.deja.checked ) {sThe = ConvertString(sThe);sRet = "http://search.dejanews.com/nph-dnquery.xp?query="+sThe;sRet += "&defaultOp=AND&svcclass=dncurrent&maxhits=25"AddNewString(nTest, sRet);nTest++;}if (form.point.checked ) {sRet = ConvertString(sThe);sRet = "http://www.pointcom.com/cgi-bin/pursuit-txt?" + sRet ;AddNewString(nTest, sRet);nTest++;}if (form.exciten.checked ) {sRet = ConvertString(sThe);sRet = "http://www.excite.com/search.gw?search=" + sRet +"&category=news&searchType=Concept&display='html2,high'";AddNewString(nTest, sRet);nTest++;}if (form.ink.checked ) {sThe = ConvertString(sThe);sRet = "http://204.161.74.5:1234/query/?hits=";sRet += "50&disp=Terse+Text+Only&query=";sRet += sThe;AddNewString(nTest, sRet);nTest++;}if (form.yahoo.checked ) {sRet = ConvertString(sThe);sRet = "http://search.yahoo.com/bin/search?p="+sRet+"&s=a";AddNewString(nTest, sRet);nTest++;}if (form.pathf.checked ) {sThe= ConvertString(sThe);sRet ="http://pathfinder.com/@@npPYHRFc8wAAQByZ/";sRet +="cgi-bin/search?Search-Operation=query&Search-Databases";sRet += "-All=true&Search-Terms=" + sThe;AddNewString(nTest, sRet);nTest++;}if (form.dict.checked ) {sRet = ConvertString(sThe);sRet = "http://gs213.sp.cs.cmu.edu/prog/webster?"+sRet;AddNewString(nTest, sRet);nTest++;}if (form.sportsnet.checked ) {sThe = ConvertString(sThe);sRet = "http://www.sportsnetwork.com/programs/waisgate?";sRet+="WAISqueryString="+sThe;sRet += "&WAISdbName=/services/production/tsn/wais/indexes/live";AddNewString(nTest, sRet);nTest++;}if (form.mag.checked ) {sRet = "http://www.mckinley.com/focus.pl?"+sThe;sRet = ConvertString(sRet);AddNewString(nTest, sRet);nTest++;}if (form.yahool.checked ) {sRet = "http://search.yahooligans.com/bin/search?p="+sThe;sRet = ConvertString(sRet);AddNewString(nTest, sRet);nTest++;}if (form.webc.checked) {sRet = "http://www.webcrawler.com/cgi-bin/WebQuery?"+sThe;sRet = ConvertString(sRet);AddNewString(nTest, sRet); nTest++;}if (form.theas.checked) {sRet = "gopher://odie.niaid.nih.gov/77/.thesaurus/index?"+sThe;sRet = ConvertString(sRet);AddNewString(nTest, sRet);nTest++;}if (form.switchb.checked) {sThe = ConvertString(sThe);sRet = "http://www.switchboard.com/bin/cgiqa.dll?S=&BUS=&SR=&L="+sThe;AddNewString(nTest, sRet);nTest++;}if (form.switchf.checked) {sThe = ConvertString(sThe);var sName = sThe;var ss1, ss2;var nLen= sName.length;for( i=0; i <= nLen; i++){if (sName.substring(i,i+1)== "+"){ss1 = sName.substring(0,i);ss2 = sName.substring(i+1,nLen);break; }}sRet = "http://www.switchboard.com/bin/cgiqa.dll?SR=&F="+ss1;sRet += "&L="+ss2;AddNewString(nTest, sRet);nTest++;}if (form.is.checked) {sThe = ConvertString(sThe);sRet = "http://guide-p.infoseek.com/Titles?qt="+sThe;sRet += "&col=WW&sv=IS&lk=noframes";AddNewString(nTest, sRet);nTest++;}if (form.alta.checked) {sThe = ConvertString(sThe);sRet = "http://www.altavista.digital.com/cgi-bin/query?pg=q&q=" + sThe;sRet += "&fmt=&what=web";AddNewString(nTest, sRet);nTest++;}if (form.altan.checked) {sThe = ConvertString(sThe);sRet = "http://www.altavista.digital.com/cgi-bin/query?pg=q&q=" + sThe;sRet += "&fmt=&what=news";AddNewString(nTest, sRet);nTest++;}if (form.usnews.checked) {sThe = ConvertString(sThe);sRet = "http://vws.agtnet.com/cgi-dos/agtfind.exe?dbname=usnews.coll";sRet += "&pubtype=usnews&query="+sThe;AddNewString(nTest, sRet);nTest++;}if (form.fooddict.checked ) {sRet = "http://www.epicurious.com/db/dictionary/search.cgi?keyword="+sThe;sRet = ConvertString(sRet);AddNewString(nTest, sRet);nTest++;}if (form.tick.checked ) {sRet = "http://qs.secapl.com/cgi-bin/qs?tick="+sThe;AddNewString(nTest, sRet);nTest++;}if (form.whow.checked ) {sThe = ConvertString(sThe);sRet = "http://query1.whowhere.com/jwz/name.wsrch?org=&name="+sThe;AddNewString(nTest, sRet);nTest++;}if (form.ziff.checked ) {sThe = ConvertString(sThe);sRet = "http://search.zdnet.com/plweb-cgi/topsearch/topresult.pl?dbname=All&query="+sThe;AddNewString(nTest, sRet);nTest++;}if (form.maill.checked ) {sThe = ConvertString(sThe);sRet = "http://www.nova.edu/Inter-Links/cgi-bin/lists?"+sThe;AddNewString(nTest, sRet);nTest++;}if (form.bigb.checked ) {sThe = ConvertString(sThe);sRet = "http://www.bigbook.com/search/listings_page.cgi?company="+sThe;AddNewString(nTest, sRet);nTest++;}if (form.hoov.checked ) {sThe = ConvertString(sThe);sRet = "http://www.hoovers.com/search/srch2.cgi?name="+sThe;AddNewString(nTest, sRet);nTest++;}if (form.health.checked ) {sThe = ConvertString(sThe);sRet = "http://nytsyn.com/cgi-bin/med_search?"+sThe;AddNewString(nTest, sRet);nTest++;}if (form.compu.checked ) {sThe = ConvertString(sThe);sRet = "http://nytsyn.com/cgi-bin/comp_search?"+sThe;AddNewString(nTest, sRet);nTest++;}if (form.encyc.checked ) {sThe = ConvertString(sThe);sRet = "http://www.eb.com/cgi-bin/g?keywords="+sThe;sRet += "&DBase=Articles&context=&hits=&indexremove=";AddNewString(nTest, sRet);nTest++;}if (form.compu.checked ) {sThe = ConvertString(sThe);sRet = "http://nytsyn.com/cgi-bin/comp_search?"+sThe;AddNewString(nTest, sRet);nTest++;}if (form.census.checked ) {sThe = ConvertString(sThe);sRet = "http://tiger.census.gov/cgi-bin/gazetteer?"+sThe;AddNewString(nTest, sRet);nTest++;}if (form.share.checked ) {sThe = ConvertString(sThe);sRet = "http://search.shareware.com/code/engine/Find?cfrom=quick&";sRet += "frame=none&orfile=True&category=All-Categories&hits=50&";sRet += "search="+ sThe +"&logop=and&and=";AddNewString(nTest, sRet);nTest++;}if (form.msoft.checked ) {sThe = ConvertString(sThe);sRet = "http://webfind.home.msn.com/cgi-bin/fts.dll?db=mssite&gr=&a1=&qu="+sThe;AddNewString(nTest, sRet);nTest++;}if (form.msnbc.checked ) {sThe = ConvertString(sThe);sRet = "http://webfind.msnbc.com/cgi-bin/fts.dll?db=msnbc&qu="+sThe;AddNewString(nTest, sRet);nTest++;}if (form.headlines.checked ) {sThe = ConvertString(sThe);sRet = "http://recycle.green.ri.cmu.edu/~speck/process.cgi?query="+sThe;AddNewString(nTest, sRet);nTest++;}if (form.showbiz.checked ) {sThe = ConvertString(sThe);sRet = "http://www.mrshowbiz.com/cgi/architext/AT-sbglobalsearch.cgi?sp=sp&search="+sThe;AddNewString(nTest, sRet);nTest++;}if (nTest > 4)nTest = 4;return(nTest);}function AddNewString(nGospel, sGospel) {if (nGospel == 0){ sT1 = sGospel; }else if (nGospel == 1){ sT2 = sGospel; }else if (nGospel == 2) { sT3 = sGospel; }else if (nGospel == 3) { sT4 = sGospel; }}function WhichString(n) {var sRet;if (nGospel == 1){ sRet = sT1; }else if (nGospel == 2) { sRet = sT2; }else if (nGospel == 3) { sRet = sT3; }else if (nGospel == 4) { sRet = sT4; }return (sRet);}function ConvertString(s3) {var nLen= s3.length;for( i=0; i <= nLen; i++){if (s3.substring(i,i+1)== " "){s3 = s3.substring(0,i) + "+" + s3.substring(i+1,nLen); }}return(s3);}function OpenWinds(sUrl) {var qWin;var sName;oldRand = GetRandom(1, 12000, oldRand);sName = "wind" + oldRand;qWin=open(sUrl,sName,'toolbar=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,location=yes,resizable=yes,copyhistory=no,width=410,height=260');}function OpenWindsBig(sUrl, sName) {var qWin;qWin=open(sUrl,sName,'toolbar=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,location=yes,resizable=yes,copyhistory=no');}//--></SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<TABLE border=2 cellpaddding="1"> <TBODY> <TR> <TD colSpan=4> <CENTER> <FORM name=theForm onsubmit="FrameIt(this);return false" method=get><B>Word(s):</B> <INPUT maxLength=75 name=GetNetscape length="30"> . . . <INPUT type=submit value=Search> . . . <SELECT name=thetop> <OPTION selected>Multi-window small<OPTION>Single Search<OPTION>Multi-window full-size</OPTION></SELECT><BR></CENTER> <TR> <TD vAlign=top><SMALL><FONT color=#0080c0>search engines</FONT></SMALL><BR><INPUT type=checkbox value=1 name=yahoo> Yahoo <BR><INPUT type=checkbox value=1 name=webc> WebCrawler <BR><INPUT type=checkbox value=1 name=lycos> Lycos <BR><INPUT type=checkbox value=1 name=excite> Excite <BR><INPUT type=checkbox value=1 name=alta> AltaVista <BR><INPUT type=checkbox value=1 name=is> InfoSeek <BR><INPUT type=checkbox value=1 name=infou> Ultra InfoSeek <BR><INPUT type=checkbox value=1 name=ink> Inktomi <BR><INPUT type=checkbox value=1 name=yahool> Yahoo-kids <BR><INPUT type=checkbox value=1 name=point> Point <BR><INPUT type=checkbox value=1 name=mag> Magellan <BR><INPUT type=checkbox value=1 name=meta> Metasearch <BR><INPUT type=checkbox value=1 name=savvy> Savvy Search <BR></TD> <TD vAlign=top><INPUT type=checkbox value=1 name=link> Linkstar <BR><INPUT type=checkbox value=1 name=otxt> Open Text <BR><INPUT type=checkbox value=1 name=mcp> WWW Yellow Pages <BR><INPUT type=checkbox value=1 name=ftp> FTP <BR><SMALL><FONT color=#0080c0>news</FONT></SMALL> <BR><INPUT type=checkbox value=1 name=pathf>Time Warn. <BR><INPUT type=checkbox value=1 name=usnews> USNews Mag. <BR><INPUT type=checkbox value=1 name=sportsnet> SportsNet <BR><INPUT type=checkbox value=1 name=msnbc> MSNBC <BR><INPUT type=checkbox value=1 name=headlines> Headlines <BR><SMALL><A href="http://www.avenue.com/news">more news sources</A></SMALL> <BR><SMALL><FONT color=#0080c0>bus. by name</FONT></SMALL><BR><INPUT type=checkbox value=1 name=switchb> Phone Book #1 <BR><INPUT type=checkbox value=1 name=bigb> Phone Book #2 </TD> <TD vAlign=top><INPUT type=checkbox value=1 name=tick> US Stocks <BR><INPUT type=checkbox value=1 name=hoov> Hoover <BR><SMALL><FONT color=#0080c0>information</FONT></SMALL> <BR><INPUT type=checkbox value=1 name=gamelan> Gamelan <BR><INPUT type=checkbox value=1 name=dict> Dictionary <BR><INPUT type=checkbox value=1 name=theas> Thesaurus <BR><INPUT type=checkbox value=1 name=encyc> Encyclopedia <BR><INPUT type=checkbox value=1 name=fooddict> Food Diction. <BR><INPUT type=checkbox value=1 name=movies> Movie Titles <BR><INPUT type=checkbox value=1 name=health> Health Reports <BR><INPUT type=checkbox value=1 name=showbiz> Music, Books, Shows <BR><INPUT type=checkbox value=1 name=census> US Census+Map <BR><INPUT type=checkbox value=1 name=switchf> US People <SMALL><BR>(firstname lastname)</SMALL> </TD> <TD vAlign=top><SMALL><FONT color=#0080c0>computer</FONT></SMALL><BR><INPUT type=checkbox value=1 name=whow> Email <BR><INPUT type=checkbox value=1 name=ziff> Ziff Mags <BR><INPUT type=checkbox value=1 name=gds> Games Domain <BR><INPUT type=checkbox value=1 name=compu> Computer News <BR><INPUT type=checkbox value=1 name=maill> Mailing Lists <BR><INPUT type=checkbox value=1 name=share> shareware.com <BR><INPUT type=checkbox value=1 name=msoft> Microsoft <BR><INPUT type=checkbox value=1 name=deja> Newsgroups #1 <BR><INPUT type=checkbox value=1 name=altan> Newsgroups #2 <BR><INPUT type=checkbox value=1 name=exciten> Newsgroups #3 <BR><SMALL><FONT color=#0080c0>entertainment</FONT></SMALL><BR><INPUT type=checkbox value=1 name=ticket> Ticket Master <BR><INPUT type=checkbox value=1 name=nbc> NBC </TD></TR></TBODY></TABLE></CENTER><BR></FORM><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->