コメントありがとうございます。 サービス終了した今なら、安く中古が手に入りそ…
jQueryでブラウザバックを禁止してみた
URLに#nbが含まれている場合のみ
ブラウザバックを禁止してみた
1 2 3 4 5 6 7 8 | ( function ($){ $(window).on( "load" , function (){ if (location.hash == "#nb" ) history.pushState( null , null , null ); }); $(window).on( "popstate" , function (){ history.pushState( null , null , null ); }); })(jQuery); |
検索
コメントを残す