How to check if [removed].pathname has changed in javascript

前端 未结 0 1785
無奈伤痛
無奈伤痛 2020-12-07 15:49

I want to detect change in pathname if that happens on the page.

For E.g.

window.onhashchange = function() {
            


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