history.back() 也可以用history.go(参数)1 表示向前-1 表示向后 -2、-3、。。。。2,3,4.。。等参数
if (history.back()){...}
或
history.back()