浅谈通过JS拦截 pushState和replaceState事件 history.pushState和history.replaceState可以在不刷新当前页面的情况下更改URL,但是这样就无法获 pushState和replaceState事件