/xsearch-searchengines.html Secret
Created
November 2, 2017 12:27
xsearch-searchengines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--SEARCH ENGINES--> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script> | |
<script> | |
function xsearch() | |
{ | |
var searchterm = document.getElementById('searchbox').value; | |
//add search strings here in a new window.open() | |
window.open('https://www.google.co.uk/search?q='+searchterm+'&oq='+searchterm+'&aqs=chrome..69i57j69i60l2j0l2j69i60.350j0j8&sourceid=chrome&ie=UTF-8'); | |
//Yahoo | |
window.open('https://uk.search.yahoo.com/search?p='+searchterm+'&fr=yfp-t&fp=1&toggle=1&cop=mss&ei=UTF-8'); | |
//Bing | |
window.open('https://www.bing.com/search?q='+searchterm+'&qs=n&form=QBLH&sp=-1&pq='+searchterm+'&sc=8-3&sk=&cvid=833A58F72D2048ED863DD1CB1BB675E6'); | |
//Wikipedia | |
window.open('https://en.wikipedia.org/wiki/'+searchterm); | |
//Ask.com | |
window.open('https://uk.ask.com/web?q='+searchterm+'&qsrc=0&o=0&l=dir&qo=homepageSearchBox'); | |
} | |
</script> | |
<center> | |
<input id="searchbox" style="border: 1px solid #643265;margin-top:50px;margin-right:5px;width:400px;font-size:15px;padding:10px;border-radius:8px" onkeydown="if (event.keyCode == 13) { xsearch(); return false; }" type="text" /><input id="searchbutton" style="margin-top:2px;border: 1px solid #bdb379;background-color: #fca311;margin-right:10px;padding:10px;border-radius:8px;font-size:15px" onclick="xsearch();" onkeypress="xsearch();" type="button" value="GO" /> | |
</center> | |
<!-- | |
xsearch: sheet engines | |
(c) 2017, Lynette Quek | |
University of York | |
assisted by Stephanie Jesper | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment