User:DeusMP/monobook.js

if (mw.config.get('wgPageName') == "Main_Page") { addOnloadHook(function {       document.getElementById("searchInput").focus;    }); }