It's not perfect but it works. Like another user mentioned the login button doesn't show properly and needs the "hidden" attribute removed to work. Can be done with the following one-liner: document.getElementById("loginButton").attributes.removeNamedItem("hidden")