Safari back-forward-cache override
Copy
js
// Safari back-forward-cache override
(function () {
window.onpageshow = function (event) {
if (event.persisted) {
document.body.style.opacity = 0;
window.location.reload();
}
};
})();