移动端H5处理物理退回 //手机端物理退回,重新加载前一个页面 $(document).ready(function() { window.history.pushState("","","#"); }); window.addEventListener("popstate",function(e){ //触发物理回退时,前一个页面的url var prevUrl = ""; location.href = pre