js常用的小工具!

history.go(-1), 返回两个页面: history.go(-2);

history.back().

window.history.forward()返回下一页

window.history.go(返回第几页,也可以使用访问过的URL)

原文地址:https://www.cnblogs.com/wangzong/p/2116859.html