User:T3knikalteenager/monobook.js

var mpTitle = "Main_Page"; var isMainPage = (document.title.substr(0, document.title.lastIndexOf(" - ")) == mpTitle) if (isMainPage) {window.location="https://en.wikipedia.org/w/index.php?title=Main_Page&useskin=modern";}