Your internet browser may occasionally display a dialog box informing you that it has encountered a long-running script. You may notice the browser running slowly or freezing, and you might have problems loading other websites while the script is running. Educate yourself on what a script is and when to end it.
What Is a Script?
Video of the Day
The way a browser defines a long-running script depends on that browser's standards. Browsers such as Internet Explorer and Microsoft Edge define the script by looking at the number of lines of code the script engine has executed. If the code is more than five million lines, you see a long-running script message. By contrast, Mozilla Firefox, Safari and Google Chrome all look at the length of time that the script engine has been executing. If the script takes longer than 10 seconds, you see the long-running script message.
How to Fix
When your internet browser encounters a long-running script, you see a dialog box on the screen that says the script is running long or may cause your computer to become unresponsive. The execution of the script is paused at this point. You are given a choice to either let the script run or terminate the script. Termination is recommended because if the script can slow down your browser if it is allowed to run. If your browser is unresponsive, press the "Ctrl," "Alt" and "Delete" buttons simultaneously to launch "Task Manager" and then click your browser and select the "End Process" button.