Similar to Stop Running This Script Error in Internet Explorer, the Firefox browser throws a warning when the script in the web page runs too long. The warning message will be like:
The warning message box will have a Continue button and Stop script button. You can always choose to continue running the script or stop the script, by clicking one of these buttons.
The java scripts runs too long because of bad and defective programming. If you are the webmaster of the web site, you have to check your scripts in the web page and make sure to split the long running scripts into smaller chunks.
If you are just a user or viewer of the website, then you cannot change the script which is running long. Instead, you can continue running the script or stop the script, by clicking one of the buttons in the warning message box.
In case if you don’t want to see the message often and if you are willing to wait some more time for the script to complete, then you can increase the script execution time limit in Firefox browser. By increasing the script execution time limit, you can allow the script in the web page to run little longer and reduce the unresponsive script warning. Follow the below steps to increase the script execution time in Firefox browser.
Steps to reduce Unresponsive Script Warning:
- In the Firefox browser type in “about:config” in the address bar and hit enter button.
- You will get a warning “This might void your warranty!“. Don’t panic, you are just going to increase the script execution time. It won’t affect anything. Click the button “I’ll be careful, I promise“.
- In the config page search for “dom.max_script_run_time” preference.
- Double click “dom.max_script_run_time“. An Enter integer value pop-up will open with the default value in seconds. You can change the value to 15 or 20 or 25 seconds.
- Click “Ok“.
The Maximum script run time is now set to your desired value. Now open the web page in Firefox. You may not see the warning message again. In case, if you are still getting the warning message even after 25 seconds, the script may be too bad. It will be good to avoid viewing the web page.
If you open the same web page in Internet Explorer, then you may get Stop Running This Script Error.