$(function(){
pushHistory();
window.addEventListener(“popstate”,function(e){
location.href=’跳转的URL’;
});

function pushHistory() {
var stat[......]