<script language="javascript">
//防止页面后退
history.pushState(null,null,document.URL);
window.addEventListener('popstate',function(){
history.pushState(null,null,document.URL);
});
</script>
JS防止页面后退
最新推荐文章于 2022-02-17 17:08:45 发布
<script language="javascript">
//防止页面后退
history.pushState(null,null,document.URL);
window.addEventListener('popstate',function(){
history.pushState(null,null,document.URL);
});
</script>