How to listen for window.forward() events? (HTML5 history API)

后端 未结 0 1908
不知归路
不知归路 2020-12-09 01:05

After pushing URLs with window.history.pushState, I can listen when users press the back button on the browser via window.onpopstate:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题