上才艺

history.pushState(null, null, document.URL);
window.addEventListener('popstate', function () {
    history.pushState(null, null, document.URL);
});
Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐