浏览器禁用后退功能
<script type="text/javascript">
//禁用浏览器后退功能
history.pushState(null, null, document.URL);
window.addEventListener('popstate', function () {
history.pushState(null, null, document.URL);
});
</script>
浏览器禁用后退功能
<script type="text/javascript">
//禁用浏览器后退功能
history.pushState(null, null, document.URL);
window.addEventListener('popstate', function () {
history.pushState(null, null, document.URL);
});
</script>