User:FlamingSilmaril/monobook.js

if (wgPageName == "Wiktionary:Main_Page") { addOnloadHook(function {       document.getElementById("searchInput").focus;    }); }