window.onpopstate = function(res) { console.log(res) }
注意:
pushState()
replaceState()
History.back()
History.forward()
History.go()
popstate