Reputation: 2577
I just made 2 alert in my example.js file
alert("test-javascript1");
alert("test-javascript2");
nothing else in my file
and in my second alert box I got this message prevent this page from creating additional dialogs
my question is why this message appears in second alert box and what should i do? should i click on that check box?
prevent this page from creating additional dialogs java script
Upvotes: 1
Views: 19462
Reputation: 41
The following steps show you how disable this Firefox feature:
Start Firefox, and type about:config in the url bar. Firefox will show the preferences screen. Please take care not to make changes at random.
Right click in the preferences area, and choose New > Integer from the popup menu.
In the dialog box that now appears, enter dom.successive_dialog_time_limit, followed by the value 0 (zero). Press OK.
When you return to the Promasys WebCRF, this message will no longer appear when opening the same dialog box more than once.
Upvotes: 4
Reputation: 2292
Have a look at this related answer: Why "Prevent this page from creating additional dialogs" appears in the alert box?
Upvotes: 1
Reputation: 7597
This alert has nothing to do with your code (apart from the fact that your alert
calls triggered it), it's functionality found in some browsers to prevent "run-away" alerts (because they're modal).
Upvotes: 2
Reputation: 31574
That is a browser thing to help users get rid of annoying sites. If you click on that, alert
s will still be fired, but you won't see them (which is not what you need if you are the developer).
Upvotes: 8