JavaScript实现禁止后退的方法
(编辑:jimmy 日期: 2025/12/25 浏览:3 次 )
<script language="JavaScript">//javascript:window.history.forward(1);
</script>
<A HREF="noname1.html"onclick="javascript:location.replace(this.href);event.returnValue=false;">dddd</a>
</script>
<A HREF="noname1.html"onclick="javascript:location.replace(this.href);event.returnValue=false;">dddd</a>
下一篇:Javascript六种风格的时间显示方式