禁用浏览器后退
Others 2018-03-20 15:53:36 2018-03-20 15:53:36 2423 次浏览<script language="javascript"> //防止页面后退 history.pushState(null, null, document.URL); window.addEventListener('popstate', function () { history.pushState(null, null, document.URL); }); </script>
Links: 113