JavaScript 【JavaScript】ブラウザバック(戻るボタン)を無効化する方法
概要 JavaScriptのHistory APIでブラウザの戻るボタンを無効化することができる。 サンプル window.history.pushState(null, null, null); window.addEventListener("popstate", function() { window.history.pushState(null, null, null); return; ...