I am rewriting this question because I think it deserves an answer. The reason why it was closed is this: "Questions related to problems with the written code should describe the specific problem - and include valid code to reproduce it - in the question itself."
Specific problem: if too many warnings / confirmations are triggered in JavaScript (as this may happen due to an error in the code), the browser will eventually ask you if you want to ignore further notifications. Once you ignore these warnings, how can you make the browser re-enable these warnings?
Valid code to reproduce the problem:
<script>while(true) alert("Stop Me");</script>
I will continue to answer the question if it opens again ...
Here is Zaneβs original question:
When developing in javascript, I sometimes find myself in a situation where I generate warnings in an endless loop. Stupid but true.
To exit this endless loop, I need to close the browser (usually using chrome) or turn off the dialogs for the page. But I do not know how to reactivate dialogs without restarting the browser.
Is there an easy way to re-enable dialogs? Surprisingly, I did not get anything useful when I was looking for it.
Zane
source share