Full version: jsB@nk » Utility » Search-code » Avenue Metasearch
URL: https://www.javascriptbank.com/avenue-metasearch.html
This search form gives you the possibility to search the 42 most popular search engines and directories. The form is transparent, so you can paste it right on your Web site to fit your design ... and it is only one line!
Full version: jsB@nk » Utility » Search-code » Avenue Metasearch
URL: https://www.javascriptbank.com/avenue-metasearch.html
<script language="JavaScript">var naam=navigator.appName;var now=new Date();var num=(now.getSeconds())%4;function selected(nummer){ if (num == nummer) return " selected"; else return "";}var imge1 = new Image();imge1.src = "http://affiliate.espotting.com/library/recordimpressions.asp?affiliateId=722&hostname=http%3A%2F%2Fwww.avenue-it.com%2Fbin%2Fmetasearch.html&postto=&Boxnumber=7";document.write('<form name="metasearch" onsubmit="search()" action=""><table border="0" cellpadding="5" cellspacing="0"><tr><td nowrap align="center" valign="middle">');if (naam=="Netscape") document.write('Search for:<\/td><td valign="middle"><input name="query" type="text" size="8" maxlength="100">');else document.write('Search for:<\/td><td valign="middle"><input name="query" type="text" size="15" maxlength="100">');document.write('<\/td><td valign="middle" nowrap>With:</td><td valign="middle">');document.write('<select name="engine"><option value=""><\/option>');document.write('<option value="about">About<\/option>');document.write('<option value="ahha">Ah-ha.com<\/option>');document.write('<option value="alltheweb">AllTheWeb<\/option>');document.write('<option value="altavista">AltaVista<\/option>');document.write('<option value="aol">AOL Search<\/option>');document.write('<option value="askjeeves">Ask Jeeves<\/option>');document.write('<option value="britannica">Britannica.com<\/option>');document.write('<option value="chubba">Chubba<\/option>');document.write('<option value="deja">Deja (Usenet)<\/option>');document.write('<option value="dogpile">Dogpile<\/option>');document.write('<option value="easysearchall"'+selected(0)+'>EasySearchAll<\/option>');document.write('<option value="espotting"'+selected(1)+'>eSpotting.com<\/option>');document.write('<option value="excite">Excite<\/option>');document.write('<option value="finditquick">FindIt-Quick<\/option>');document.write('<option value="findwhat">FindWhat<\/option>');document.write('<option value="gigablast">Gigablast<\/option>');document.write('<option value="gotosearch">Go-To-Search<\/option>');document.write('<option value="google">Google<\/option>');document.write('<option value="hotbot">HotBot<\/option>');document.write('<option value="infospace">InfoSpace<\/option>');document.write('<option value="iwon">iWon<\/option>');document.write('<option value="ixquick">Ixquick<\/option>');document.write('<option value="kanoodle"'+selected(2)+'>Kanoodle.com<\/option>');document.write('<option value="looksmart">LookSmart<\/option>');document.write('<option value="lycos">Lycos<\/option>');document.write('<option value="mamma">Mamma<\/option>');document.write('<option value="metacrawler">MetaCrawler<\/option>');document.write('<option value="moreclickthrus">MoreClickThrus<\/option>');document.write('<option value="msn">MSN Search<\/option>');document.write('<option value="netflip">NetFlip<\/option>');document.write('<option value="netscape">Netscape Search<\/option>');document.write('<option value="opendirectory">Open Directory<\/option>');document.write('<option value="overture">Overture<\/option>');document.write('<option value="queryserver">Query Server<\/option>');document.write('<option value="questfinder">QuestFinder<\/option>');document.write('<option value="raging">Raging Search<\/option>');document.write('<option value="search">Search.com<\/option>');document.write('<option value="searchhippo">SearchHippo<\/option>');document.write('<option value="sleuthhound">Sleuth-Hound<\/option>');document.write('<option value="sprinks">Sprinks<\/option>');document.write('<option value="stonediver">Stonediver<\/option>');document.write('<option value="surfwax">SurfWax<\/option>');document.write('<option value="teoma">Teoma<\/option>');document.write('<option value="threesearch"'+selected(3)+'>3000Search<\/option>');document.write('<option value="thunderstone">Thunderstone<\/option>');document.write('<option value="vivisimo">Vivísimo<\/option>');document.write('<option value="webcrawler">WebCrawler<\/option>');document.write('<option value="wisenut">WiseNut<\/option>');document.write('<option value="xuppa">Xuppa<\/option>');document.write('<option value="yahoo">Yahoo<\/option>');document.write('<option value=""><\/option><\/select><\/td><td align="center" valign="middle">');document.write('<input type="button" value="Go!" onclick="search()">');document.write('<\/td><\/tr><\/table><\/form>');function search(){zoekTerm = document.metasearch.query.value; if(zoekTerm != ""){zoekTerm = zoekTerm.replace(/\s/ig, "+");nummer = document.metasearch.engine.selectedIndex;zoekMachine = document.metasearch.engine[nummer].value;eindTerm = "";if(zoekMachine == "about") eindTerm = "http://search.about.com/fullsearch.htm?terms=" + zoekTerm + "&PM=59_0100_S";else if(zoekMachine == "ahha") eindTerm = "http://partner.ah-ha.com/1000.asp?cid=30275&q=" + zoekTerm;else if(zoekMachine == "alltheweb") eindTerm = "http://www.alltheweb.com/search?cat=web&advanced=1&type=all&query=" + zoekTerm + "&jsact=&lang=any&charset=iso-8859-1&wf%5Bn%5D=3&wf%5B0%5D%5Br%5D=&wf%5B0%5D%5Bq%5D=&wf%5B0%5D%5Bw%5D=&wf%5B1%5D%5Br%5D=%2B&wf%5B1%5D%5Bq%5D=&wf%5B1%5D%5Bw%5D=&wf%5B2%5D%5Br%5D=-&wf%5B2%5D%5Bq%5D=&wf%5B2%5D%5Bw%5D=&dincl=&dexcl=&hits=10&nooc=off";else if(zoekMachine == "altavista") eindTerm = "http://www.altavista.com/sites/search/web?q=" + zoekTerm + "&kl=XX&pg=q";else if(zoekMachine == "aol") eindTerm = "http://search.aol.com/aolcom/search?query=" + zoekTerm;else if(zoekMachine == "askjeeves") eindTerm = "http://www.ask.com/main/askjeeves.asp?ask=" + zoekTerm + "&origin=0&optout=1&site_name=Jeeves&metasearch=yes&ads=";else if(zoekMachine == "britannica") eindTerm = "http://www.britannica.com/search?query=" + zoekTerm;else if(zoekMachine == "chubba") eindTerm = "http://chubba2.whatuseek.com/cgi-bin/texis/scripts/search4?group=1&weather_on=0&source=engine&arg=" + zoekTerm;else if(zoekMachine == "deja") eindTerm = "http://groups.google.com/groups?q=" + zoekTerm + "&hl=en&lr=&safe=off&site=groups";else if(zoekMachine == "dogpile") eindTerm = "http://search.dogpile.com/texis/search?q=" + zoekTerm + "&geo=no&fs=web&adultsp=0";else if(zoekMachine == "easysearchall") eindTerm = "http://easysearchall.com/search/search/Simple.php?AID=814&country=Global&month=XX&day=XX&year=XX&q=" + zoekTerm;else if(zoekMachine == "espotting") eindTerm = "http://affiliate.espotting.com/search/affresults.asp?bkfill=1&hits=10&affiliateId=722&page=1&keyword=" + zoekTerm;else if(zoekMachine == "excite") eindTerm = "http://search.excite.com/search.gw?trace=a&search=" + zoekTerm;else if(zoekMachine == "finditquick") eindTerm = "http://www.findit-quick.com/cgi-local/search/cobrand.fcgi?Terms=" + zoekTerm + "&affiliate=avenue_it";else if(zoekMachine == "findwhat") eindTerm = "http://www.findwhat.com/results.asp?DC=25&MT=" + zoekTerm + "&aff_id=0&filter_pref=0";else if(zoekMachine == "gigablast") eindTerm = "http://www.gigablast.com/cgi/0.cgi?q=" + zoekTerm;else if(zoekMachine == "gotosearch") eindTerm = "http://go-to-search.com/go/search/search/Simple.php?AID=28933&country=Global&month=XX&day=XX&year=XX&q=" + zoekTerm;else if(zoekMachine == "google") eindTerm = "http://www.google.com/search?q=" + zoekTerm;else if(zoekMachine == "hotbot") eindTerm = "http://hotbot.lycos.com/?MT=" + zoekTerm;else if(zoekMachine == "infospace") eindTerm = "http://msxml.infospace.com/info/dog/webresults.htm?qcat=web&start=&userip=&ver=00006&qkw=" + zoekTerm;else if(zoekMachine == "iwon") eindTerm = "http://search.iwon.com/commerce/multisearch.jsp?searchfor=" + zoekTerm + "&symbol_search_select=short&alias=%2Falias%2Fsearch&type=on";else if(zoekMachine == "ixquick") eindTerm = "http://ixquick.com/do/metasearch.pl?query=" + zoekTerm + "&language=english&cat=web&linkback_url=http%3A%2F%2Fwww.avenue-it.com%2Fbin%2Fmetasearch.html&linkback_sitename=avenue-it.com";else if(zoekMachine == "kanoodle") eindTerm = "http://www.kanoodle.com/aff.cool?id=13173160&permfilter=off&filter=off&query=" + zoekTerm;else if(zoekMachine == "looksmart") eindTerm = "http://www.looksmart.com/r_search?search=0&comefrom=ds.US-go67837-search&key=" + zoekTerm;else if(zoekMachine == "lycos") eindTerm = "http://search.lycos.com/main/?query=" + zoekTerm + "&rd=y";else if(zoekMachine == "mamma") eindTerm = "http://search.mamma.com/10670?qtype=0&timeout=4&lang=10670&query=" + zoekTerm;else if(zoekMachine == "metacrawler") eindTerm = "http://search.metacrawler.com/crawler?general=" + zoekTerm + "&method=0&redirect=web&refer=mc-box&adultsp=0";else if(zoekMachine == "moreclickthrus") eindTerm = "http://www.moreclickthrus.com/cgi/search/affjump.cgi?affiliate=avenue_it&Terms=" + zoekTerm;else if(zoekMachine == "msn") eindTerm = "http://search.msn.com/results.asp?q=" + zoekTerm + "&FORM=SMCRT&cfg=SMCINITIAL&v=1&un=doc";else if(zoekMachine == "netflip") eindTerm = "http://www.netflip.com/nf/Search/?rei=5043443&v=1&w=4881849&hid=5043301&x=88&y=31&t=s&q=" + zoekTerm;else if(zoekMachine == "netscape") eindTerm = "http://search.netscape.com/ns/search?fromPage=NSCPIndex&query=" + zoekTerm;else if(zoekMachine == "opendirectory") eindTerm = "http://search.dmoz.org/cgi-bin/search?search=" + zoekTerm;else if(zoekMachine == "overture") eindTerm = "http://www.overture.com/d/USm/search/?Keywords=" + zoekTerm;else if(zoekMachine == "queryserver") eindTerm = "http://www.queryserver.com/QServerExe/QServer.exe/web.ini?DT=3:1:0:0&DTqo1=AND&DTnt=40&DTQSclus=1&DTQSuser=Long&DTQSname1=ALL&DTQSname2=AltaVista&DTQSname3=AOL&DTQSname4=FAST&DTQSname5=HotBot&DTQSname6=MSN&DTQSname7=Netscape&DTQSname8=Northern%20Light&DTQSname9=Open%20Directory&DTQSname10=Sprinks&DTQSname11=Teoma&DTQSname12=Yahoo&DTQSon1=0&DTQSon2=1&DTQSon3=1&DTQSon4=1&DTQSon5=1&DTQSon6=1&DTQSon7=1&DTQSon8=1&DTQSon9=1&DTQSon10=1&DTQSon11=1&DTQSon12=1&DTQSto1=15&DTqb1=" + zoekTerm;else if(zoekMachine == "questfinder") eindTerm = "http://www.questfinder.com/search/search.cgi?reload=Y&category=catx3dx%3DALL&match=and&ul=either&s=" + zoekTerm;else if(zoekMachine == "raging") eindTerm = "http://www.altavista.com/sites/search/res_text?sc=on&hl=on&amb=txt&q=" + zoekTerm + "&kl=XX";else if(zoekMachine == "search") eindTerm = "http://www.search.com/search?channel=1&tag=st.se.fd..sch&q=" + zoekTerm;else if(zoekMachine == "searchhippo") eindTerm = "http://www.searchhippo.com/q.php?q=" + zoekTerm;else if(zoekMachine == "sleuthhound") eindTerm = "http://sleuth-hound.com/search/search/Simple.php?AID=431851&country=Global&month=XX&day=XX&year=XX&q=" + zoekTerm;else if(zoekMachine == "sprinks") eindTerm = "http://search.sprinks.about.com/search.htm?terms=" + zoekTerm;else if(zoekMachine == "stonediver") eindTerm = "http://se.stonediver.com/search.php?ID=42225&fString=" + zoekTerm;else if(zoekMachine == "surfwax") eindTerm = "http://www.surfwax.com/servlet/com.surfwax.FrontEnd.home?cmd=frames&max=100&sort=relevance&summaries=+&search=" + zoekTerm;else if(zoekMachine == "teoma") eindTerm = "http://s.teoma.com/search?qcat=1&qsrc=0&q=" + zoekTerm;else if(zoekMachine == "threesearch") eindTerm = "http://3000search.com/search/Simple.php?AID=15629&q=" + zoekTerm;else if(zoekMachine == "thunderstone") eindTerm = "http://thunderstone.master.com/texis/master/search/?s=OD&q=" + zoekTerm;else if(zoekMachine == "vivisimo") eindTerm = "http://vivisimo.com/search?se=Yahoo%2CMSN%2CFast%2CNetscape%2CWiseNut%2CLooksmart&enablejs=1&query=" + zoekTerm;else if(zoekMachine == "webcrawler") eindTerm = "http://dpxml.webcrawler.com/info.wbcrwl/dog/webresults.htm?qcat=web&qk=20&start=&userip=&ver=00431&qkw=" + zoekTerm;else if(zoekMachine == "wisenut") eindTerm = "http://www.wisenut.com/search/query.dll?q=" + zoekTerm;else if(zoekMachine == "xuppa") eindTerm = "http://www.xuppa.com/cgi-local/search.cgi?AID=1110111&PID=811938&link=&clicktrade=&keyword2=" + zoekTerm;else if(zoekMachine == "yahoo") eindTerm = "http://search.yahoo.com/bin/search?p=" + zoekTerm;if(zoekMachine != ""){zoekraam=window.open(""+eindTerm,"zoekresultaat","width=screen.availWidth,height=screen.availHeight,scrollbars,toolbar,menubar=1,location=1,resizable=1,status=1,directories=0,top=0,left=0");zoekraam.focus();}}}</script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->