pushHistory(); window.addEventListener("popstate", function(e) { window.location = data.info.advert.link(要跳转的页面地址)); }, false); function pushHistory(){ var state = { title: "title", url: "#" }; window.history.pushState(state, "title", "#"); }
pushHistory(); window.addEventListener("popstate", function(e) { window.location = data.info.advert.link(要跳转的页面地址)); }, false); function pushHistory(){ var state = { title: "title", url: "#" }; window.history.pushState(state, "title", "#"); }