(function () { window.onpageshow = function(event) { if (event.persisted) { window.location.reload(); } }; })();