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
That is a browser thing to help users get rid of annoying sites. If you click on that,
alerts will still be fired, but you won’t see them (which is not what you need if you are the developer).