Window.Location.href quebra o botão de volta

// Fixes back button issue when using history.pushState();
window.onpopstate = e => {
    window.location = location.href;
};
Dizzy Dog