Click here to Skip to main content
15,849,829 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

While we are getting alert message more then one it has a checkbox getting "Prevent this page from creating additional dialogs".

If we check that checkbox then my functionality not working and getting error "NS_ERROR_NOT_AVAILABLE: ".

I do't want
"Prevent this page from creating additional dialogs".
checkbox with alert message box.

1 solution

You can't disable this feature.

This is a browser feature and is intended to protect the user, If you could turn it off, all those sites spamming users with dialogs would have a way to stop it.

So in short, no.

Make your application work with it instead of against it, don't rely on dialogs/confirmations to much. rather have a modal-box ask questions, it is pretty too


Also check this[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900