JS防后退跳转

 location.replace("http://www.baidu.com"); 
原文地址:https://www.cnblogs.com/mrma/p/3653836.html