Warning Unresponsive script
When JavaScript code runs for longer than a predefined amount of time, Firefox will display a dialog that says Warning: Unresponsive Script. This time is given by the settings dom.max_script_run_time and dom.max_chrome_script_run_time. Increasing the values of those settings will cause the warning to appear less often, but will defeat the purpose: to inform you of a problem with an extension or web site so you can stop the runaway script.-
- Complete Error Message: “A script on this page may be busy, or It may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.”
-
- Sometimes you may be able to identify the extension:
- "Script: chrome://fastdial/content/storage.js:71"
This error is telling you that Firefox thinks that a script
may be running out of control and would make Firefox hang if nothing is
done. The script could be something on a web page you're accessing, in
an extension you installed, or even Firefox itself.
Letting the script run longer
If you find that pressing the button brings up the same dialog again, letting the script run longer won't help you; it will just make Firefox hang for longer. However, if you can use Firefox normally after pressing , then the script may just needs extra time to complete.To tell Firefox to let the script run longer:
- In the Location bar, (URL Bar)type about:config and press Enter.
- The about:config "This might void your warranty!" warning page may appear. Click , to continue to the about:config page.
- In the about:config page, search for the preference dom.max_script_run_time, and double-click on it.
- In the Enter integer value prompt, type 20.
- Press .
If you still receive the prompt (or if you want to see it again), you should set that preference back to the default value.
- In the Location bar, type about:config and press Enter.
- The about:config "This might void your warranty!" warning page may appear. Click , to continue to the about:config page.
- In the about:config page, search for the preference dom.max_script_run_time.
- Right-click on it and choose .
Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems
Some problems with Firefox are caused by extensions, themes or hardware acceleration.
This article will help you determine whether one of these is causing
your problem and, if it is, describe how to make Firefox run normally
again.
Note: The Reset Firefox feature
can fix many issues by restoring Firefox to its factory default state
while saving your essential information. Consider using it before going
though a lengthy troubleshooting process.
Start Firefox in Safe Mode
When you start in Firefox's Troubleshoot Firefox issues using Safe Mode, all extensions are temporarily disabled, hardware acceleration is turned off and the default theme is used. This will help determine whether one of these is causing your problem.- At the top of the Firefox window, click the and select menu . Firefox will start up with the Firefox Safe Mode dialog.
Note: You can also start Firefox in Safe Mode by quitting Firefox and then going to your Terminal and running:firefox -safe-mode
You may need to specify the Firefox installation path (e.g. /usr/lib/firefox-4) - When the Firefox Safe Mode window appears, press the button .
The problem still occurs in Safe Mode
If your problem persists in Safe Mode, it is not being caused by an extension, theme or hardware acceleration. Other possible causes could be plugins or changes made to Firefox preference settings, which are not disabled in Safe Mode.- For additional troubleshooting suggestions, see Troubleshoot and diagnose Firefox problems, Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems, and Reset Firefox preferences to troubleshoot and fix problems.
The problem does not occur in Safe Mode
If your problem did not occur in Safe Mode, it is most likely because of an extension, theme or hardware acceleration. Continue following the steps in this article to determine the cause of your problem.Turn off hardware acceleration
With some graphics card and graphics driver setups, Firefox may crash or have trouble showing text or objects on pages when using hardware acceleration. You can try turning off hardware acceleration to see if it fixes the problem.- At the top of the Firefox window, click on the menu and select
- Select the panel and the tab.
- Uncheck Use hardware acceleration when available.
- At the top of the Firefox window, click on the menu and select .
- Start Firefox the way you normally do.
Switch to the default theme
If you are using a theme other than the default Firefox theme:- At the top of the Firefox window, click on the . The Add-ons Manager tab will open menu, and then click .
- In the Add-ons Manager tab, select the panel.
- Select the default theme, then click the button, to make Firefox switch to that theme.
- Click if necessary.
Disable all extensions
To determine whether a faulty extension is causing your problem, you can disable all of your installed extensions:- At the top of the Firefox window, click on the . The Add-ons Manager tab will open menu, and then click .
- In the Add-ons Manager tab, select the panel.
- Click the name of an extension in the list to select it.
- Click to disable the selected extension.
- Repeat this for each of the other extensions in the list.
- Click .
- If the problem still occurs with all extensions disabled, it is most likely that the localstore.rdf file in your Firefox profile is corrupt. You can Reset toolbars and controls to resolve the problem.
Test for faulty extensions
To determine which of your disabled extensions was causing your problem, you can re-enable each extension one at a time.- At the top of the Firefox window, click on the . The Add-ons Manager tab will open menu, and then click .
- In the Add-ons Manager tab, select the panel.
- Click the name of an extension in the list to select it.
- Click to enable the selected extension.
- Click .
Note: If you have a large number of
extensions, it may be quicker to enable more than one extension at a
time. The method with the fewest number of restarts required is: Enable
half the extensions in this list, then restart Firefox and test for the
problem. If the problem reoccurs, you know that the faulty extension is
one of the ones you just enabled. If the problem does not occur, you
know the faulty extension is one of the disabled ones. Repeat the
process until the faulty extension is found.
After you find the extension that was causing your problem, disable
or uninstall the faulty extension and re-enable the other extensions in
the Add-ons window.
Updating extensions
If an extension was causing your problem, it may have an update available that will fix it:- At the top of the Firefox window, click on the . The Add-ons Manager tab will open menu, and then click .
- In the Add-ons Manager tab, select the panel.
- Click .
- If updates are found, install them by clicking .
- When the installation is complete, click .
Checking extension settings
Some problems are caused if the settings of an extension override Firefox settings (e.g. problems with toolbars). Therefore you may want to check the extension's settings to see if you can find the option that is causing your problem:- At the top of the Firefox window, click on the . The Add-ons Manager tab will open menu, and then click .
- In the Add-ons Manager tab, select the panel.
- For the extension that is causing your problem click the button.
- Click your way through the settings to see if there is an option that may solve your problem.
- If you found a suitable option, click and .
http://support.mozilla.org/en-US/kb/warning-unresponsive-script
http://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems
http://kb.mozillazine.org/Unresponsive_Script_Warning
No comments:
Post a Comment