How to disable “prevent this page from creating additional dialogs”?

You can’t. It’s a browser feature there to prevent sites from showing hundreds of alerts to prevent you from leaving.

You can, however, look into modal popups like jQuery UI Dialog. These are javascript alert boxes that show a custom dialog. They don’t use the default alert() function and therefore, bypass the issue you’re running into completely.

I’ve found that an apps that has a lot of message boxes and confirms has a much better user experience if you use custom dialogs instead of the default alerts and confirms.

Leave a Comment