Did you know it took 10+ years for Mozilla to fix the alert() denial loop [mozilla.org]? That bug is older than Mozilla itself, and the most obvious fix of "checkbox to stop further dialogs" was dismissed as a hack (compared to the destructive hack of force-killing Mozilla.)
Yeah, and it should be reverted to the prior behavior because it doesn't fix the issue.
Last I checked alert()s were tab-modal in Firefox, so where's the problem?
If you're giving someone an infinite alert loop, then your code is bad or malicious.
Whether it is bad or malicious this "fix" doesn't fix the issue at all. The very same "denial of service" is easily produced by wrapping an infinite loop in a short window.setInterval(...);. Then instead of an alert() popup you get a never-ending stream of "would you like to stop the script?" dialogs. So, if it's a pop-up dialog denial of service attack you're fixing, then that fucking moronic patch, didn't do jack shit, dingus.
Protip: Application Level Modal Dialogs are the problem -- That they prohibit you from using your browser functions, like the refresh button or address bar, and not just the page itself is the issue.
A "modal dialog" is a DENIAL OF SERVICE to all other application features. The fix should really happen at the OS UI level. Just fire all the UI designers who think modality is grand.
Protip: check to see if the dialog you're moaning about is even still modal before moaning about it. (Hint: it isn't)