您的位置: 首页 > IT文章 > 如何禁止浏览器 前进功能 如何禁止浏览器 前进功能 分类: IT文章 • 2023-12-18 16:19:43 history.pushState(null, null, document.URL); 页面加载后,在history的栈中 加入自己的url。 在页面跳转后 popstate hashchange