Warning Unresponsive Script in Firefox
I have been encountering a warning in Firefox lately which notified me the that a script on the current website was unresponsive asking me if I wanted to stop or continue. That's a pretty vague warning and I was puzzled at first about the cause of it. The strange thing was that the website seemed to have loaded completely and that the warning was displayed despite of this.
If you suspect that a script just needs a few more seconds to run you need to edit a setting in the Firefox config. Type about:config in the address bar and filter for the string dom.max_script_run_time. The default setting is 20 (seconds), just add a few more, raise it to 25 for instance or even more.
There are a couple of other options available to resolve script warnings in Firefox. You can for instance install an add-on like NoScript or YesScript to either block all or only select scripts from running in the browser. Note that this works well only if the script is not required for the site's functionality.
Another option to find out if extensions are causing the warning message is to run Firefox with all extensions disabled. You can do so with a click on Firefox > Help > Restart with Add-ons Disabled.Advertisement