禁止浏览器的前进与后退

window.history.forward(-1); //禁止浏览器的前进与后退

原文地址:https://www.cnblogs.com/jichuang/p/9633950.html