history.pushState(null, null, document.URL); window.addEventListener(‘popstate‘, function () { history.pushState(null, null, document.URL); });
浏览器禁用返回按钮
原文:https://www.cnblogs.com/chengfengchi/p/11360412.html