$(document).ready(function() {

  if (window.history && window.history.pushState) {

    $(window).on('popstate', function () {

       window.history.pushState('forward', null, '#');

       window.history.forward(1); });

     }

       window.history.pushState('forward', null, '#'); //在IE中必须得有这两行

       window.history.forward(1);

   });

相关文章:

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