JavaScript: slow script warningQuestion: Why does the browser display the slow script warning? Answer: If a JavaScript program does not end for a long time, the browser may display a warning message and give the user an option to terminate the script. (This may be the case e.g. when scripts perform lengthy computations.) The exact wording and frequency of the warning depends on the browser; for example, Internet Explorer 8.0 displays this Yes/No dialog:
Stop running this script?
Among all modern browsers, Internet Explorer 8.0 appears to display the slow script warning most frequently. (By default IE8 displays this warning every 5 million JavaScript statements.) To reduce the frequency of the message, you can reconfigure your IE8 or earlier IE versions, as described in the Knowledge Base Article 175500 at Microsoft Support website:
Note: Set See also other JavaScript dialogs: |
Copyright © 1999-2011, JavaScripter.net.