// Remove query params window.history.pushState({html: document.documentElement.innerHTML, pageTitle: document.title}, '', location.pathname); Elm.fullscreen(Elm.Main, { initialTime: new Date().getTime(), translations: document.getElementById('messages').innerHTML, conf: document.getElementById('conf').innerHTML, signInError: document.getElementById('signInError').innerHTML, location: location.pathname });