function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to remove/hide "Prevent this page from creating additional dialogs" from ajax alerts

Hi All,

We need to remove/hide the "Prevent this page from creating additional dialogs" dialog from the alerts. is there any way ?
You can't I'm afraid - this is something that the browser enforces to stop pages hijacking the browser by constantly opening popups and stopping the user from closing the page.

The only way to avoid this is to use non-browser alerts - something like the JQueryUI dialog alerts for example:
Thanks bob.