history.pushState(null, null, document.URL);
window.defaultPopstate = () => {
history.pushState(null, null, document.URL);
};
window.addEventListener("popstate", window.defaultPopstate, false);
history.pushState(null, null, document.URL);
window.defaultPopstate = () => {
history.pushState(null, null, document.URL);
};
window.addEventListener("popstate", window.defaultPopstate, false);