Difference between revisions of "MediaWiki:Gadget-SearchFocus.js"
m (1 revision: importing stuff form ISSBW) |
m (RingtailedFox moved page MediaWiki:Gadget-searchFocus.js to MediaWiki:Gadget-SearchFocus.js) |
||
(One intermediate revision by the same user not shown) |
Latest revision as of 04:58, 10 March 2013
// Imported from http://en.wikipedia.org/wiki/MediaWiki:Gadget-searchFocus.js as of June 4, 2009 //gotten from http://www.mediawiki.org/wiki/Extension:Gadgets/Scripts/SearchFocus.js on Feburary 23rd, 2010 if (wgPageName == "Main_Page") { addOnloadHook(function() { document.getElementById("searchInput").focus(); }); }