history.pushState(null, null, document.URL);
window.addEventListener('popstate', function () {
history.pushState(null, null, document.URL);
});
- Nov 08 Fri 2019 09:48
-
[JavaScript] 禁止使用「上一頁」功能
history.pushState(null, null, document.URL);
window.addEventListener('popstate', function () {
history.pushState(null, null, document.URL);
});
請先 登入 以發表留言。