Tiny alert() Hack for infinate loop

By cho45 Last update Sep 4, 2007 — Installed 213 times.


Script Summary: This script enables to cancel the script as showing alert.

When alert() is in infinite loop, you have to forcely terminate your browser.
This script replaces alert() to confirm(). You canceled the dialog, the script will be stopped.


無限ループ中やら長いループ中に alert() を書くと、ブラウザを強制終了せざるを得なくなります。
このスクリプトでは alert() を confirm() で置きかえ、各ダイアログでスクリプトを途中終了できるようにします。