Chrome prevents javascript alert loop

I’ve written earlier about user helplessness regarding any javascript alert boxes which keep popping in one tab of the browser, thereby jeopardizing the whole browser window.

I just found by chance that Google Chrome indeed handles this elegantly: On the second popup for any page, it displays this neat checkbox right below the message:

This is something that Mozilla folks decided “could wait” for the past eight years?

3 Responses

  1. Mike Conley Says:

    Hey – I just wrote a Firefox extension that lets users suppress multiple alert dialogs.

    And this blog post was part of the inspiration, so thanks! :)

    Anyhow, if you’re interested, you can get it here: http://mikeconley.ca/blog/2009/05/03/overriding-firefox%e2%80%99s-windowalert-part-4/

    Cheers,

    -Mike

  2. Watson Says:

    what then is the reason behind chrome suppressing simple alert messages – for developers to trace code flow ?
    Please suggest some debugging tool that is as easy.

  3. Swapnil Pathare Says:

    Its for non-developers to conveniently skip messages put in maliciously or mistakenly in never-ending sequences (or loops).

    What debugging tool are you looking for, exactly?

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.