如何禁用浏览器后退按钮适用于所有的主流浏览器:IE / FF / Chrome浏览器/歌剧/ Safari浏览器
how to disable browser back button that works for all major browsers: IE/FF/ Chrome/Opera/Safari.
谢谢!
使用history.forward();在你的源页面从你要去哪里目标page.now如果U尝试回到previous页你无法。
Use history.forward(); in your source page from where you are going to the target page.now if u try to go back to the previous page u can't.
<script type="text/javascript" language="javascript">
history.forward();
</script>
禁用浏览器按钮是不可能的,但尝试这种解决方案,如果u想以同样的方式来实现。
disabling the browser button is not possible but try this solution if u want to implement in the same way.