js代码:
<script> history.pushState(null, null, document.URL); window.addEventListener(‘popstate‘, function () { history.pushState(null, null, document.URL); }); </script>
通过js禁用浏览器的回退事件
原文:https://www.cnblogs.com/YeHuan/p/11221927.html