ios出现后退 后退不了的问题
$(function () {
pushHistory();
});
function pushHistory() {
window.addEventListener("popstate", function (e) {
self.location.reload();
}, false);
var state = {
title: "",
url: "#"
};
window.history.replaceState(state, "", "#");
};
网友评论