xxxxxxxxxx
history.go(0); //This works on chrome in 2022
xxxxxxxxxx
window.setTimeout(function () {
window.location.reload();
}, 30000);
xxxxxxxxxx
window.onload = function() {
var reloading = sessionStorage.getItem("reloading");
if (reloading) {
sessionStorage.removeItem("reloading");
myFunction();
}
}
function reloadP() {
sessionStorage.setItem("reloading", "true");
document.location.reload();
}
xxxxxxxxxx
<a href="javascript:window.top.location.reload(true)" class="continue">Continue</a>