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", "#"); 
                       }

 

相关文章:

  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
相关资源
相似解决方案