User:Cheung TakWah/vector.js

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