User:AmiDaniel/searchhack.js

/* */ $( function {

if (location.href.indexOf("search=&") != -1) {

document.getElementById("bodyContent").innerHTML += "

\n" + "\n" + "Search in namespaces:\n" + " (Main) \n" + " Talk \n" + " User \n" + " User talk \n" + " Wikiversity \n" + " Wikiversity talk \n" + " Image \n" + " Image talk \n" + " MediaWiki \n" + " MediaWiki talk \n" + " Template \n" + " Template talk \n" + " Help \n" + " Help talk \n" + " Category \n" + " <input type='checkbox' value=\"1\" name=\"ns15\" />Category talk \n" + " <input type='checkbox' value=\"1\" name=\"ns100\" />School \n" + " <input type='checkbox' value=\"1\" name=\"ns101\" />School talk \n" + " <input type='checkbox' value=\"1\" name=\"ns102\" />Portal \n" + " <input type='checkbox' value=\"1\" name=\"ns103\" />Portal talk \n" + " <input type='checkbox' value=\"1\" name=\"ns104\" />Topic \n" + " <input type='checkbox' value=\"1\" name=\"ns105\" />Topic talk \n" + "Search for <input type='text' name=\"search\" value=\"\" size=\"16\" />\n" + " <input type=\"submit\" name=\"fulltext\" value=\"Search\" />\n" + " "; }}); /* */