当前位置:首页 >> 网络编程

JavaScript实现禁止后退的方法

<script language="JavaScript">//javascript:window.history.forward(1);
</script>

<A HREF="noname1.html"onclick="javascript:location.replace(this.href);event.returnValue=false;">dddd</a>