Sunday 26 May 2013

HOW TO STOP NON RESPONSIVE SCRIPT ON FIREFOX

Firefox may give you a "Warning: Unresponsive script" prompt that says "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." This article describes why this could happen and possible solutions and workarounds.
Many are faced with crappy non responsive script that bumps up often in their firefox browser, and many do not know hot to fix this problem, I came across this write up I think sharing them will help lots of people having this problem
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.
If you find that pressing the Continue 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 Continue, then the script may just needs extra time to complete.
To tell Firefox to let the script run longer:
  1. In the Location bar, type about:config and press Enter.
    • The about:config "This might void your warranty!" warning page may appear. ClickI'll be careful, I promise!, to continue to the about:config page.
  2. In the about:config page, search for the preference dom.max_script_run_time, and double-click on it.
  3. In the Enter integer value prompt, type 20.
  4. Press OK.
With scripts now allowed to run for longer times, you may no longer receive the prompt.
If you still receive the prompt (or if you want to see it again), you should set that preference back to the default value.
  1. In the Location bar, type about:config and press Enter.
    • The about:config "This might void your warranty!" warning page may appear. ClickI'll be careful, I promise!, to continue to the about:config page.
SOURCED FROM

  1. In the about:config page, search for the preference dom.max_script_run_time.
  2. Right-click on it and choose Reset.

0 comments:

Post a Comment

Category List