阻止浏览器返回按钮

来源:互联网 发布:python数据挖掘包 编辑:程序博客网 时间:2024/06/06 15:45
history.pushState(null, null, document.URL);
        window.addEventListener('popstate', function () {
            history.pushState(null, null, document.URL);
        });
阅读全文
0 0
原创粉丝点击