Firefox Unresponsive Script: Increase JavaScript Execution Waiting Time

Firefox 1.5 and above, including Firefox 2.0.x limits the amount of time that a script or Javascript took to run and complete. Whenever a web page takes too long to load, an error will pop up with the following message:

Warning : Unresponsive script

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.


Firefox Unresponsive Script

Users have two option buttons namely Stop Script or Continue. Pressing Continue will likely to make the Firefox browser to remain sluggish or not responding, while Stop Script will inevitably cause part of the website depends on script not functioning properly, such as Java script menu, auto refresh or update of streaming live contents. If you click on Continue, and yet script is still hanging, you will keep getting the Unresponsive Script error dialog again and again once the the preset maximum script running time hit, which is default to 5 seconds in Firefox 1.5 and 10 seconds in Firefox 2.

To get rid of the annoying Unresponsive Script error dialog and fix the behavior of script that takes long execution time in Firefox, we can longer the waiting time for script to run before Firefox intercept it with warning.

  1. Run Firefox.
  2. In the Firefox address bar, type about:config, and then press Enter.
  3. Scroll and locate or search with Filter text box for dom.max_script_run_time.
  4. Double click on the line of dom.max_script_run_time, and change the value to a higher number (in seconds) that you want Firefox to wait before getting the Unresponsive Script warning. Be default, the value is 5 or 10 seconds. You can safely set the magical number to let’s say 20. You can set the value to 0 to instruct Firefox to wait foever – no warning and dialog whatsoever. Note that the whole Firefox may be not responsive and cannot be used while waiting for scripts to execute, so the number should not set too high in order to give you an opportunity to stop truly nasty or buggy scripts and recover use of Firefox.
  5. Click OK.
  6. Restart Firefox.

6 Responses to “Firefox Unresponsive Script: Increase JavaScript Execution Waiting Time”

  1. Izkata
    July 11th, 2008 12:22
    6

    There’s something that went wrong with Firefox 3 that was fine in FF2, and is causing runaway scripts to happen far more frequently. Not to mention the dialogue itself becoming unresponsive, because a second script (or more!) starts and goes crazy under a second after the dialogue appears.

  2. BigDAS
    May 21st, 2008 04:55
    5

    I had this problem constantly with Firefox halting on the unresponsive script error. I uninstalled it and installed the 2.0.0.14 version. Once again I got the same error when loading the browser but this time, a window popped up asking me if wanted to update several browser toolbars. I choose not to update, the window disappeared along with the scipt error. Now, it loads normally every time.
    I’m just wondering if this update function isn’t causing the same error for others. If so, then disable automatic update alerts.

  3. Allison
    February 13th, 2008 07:13
    4

    Thanks for this!

  4. admin
    November 9th, 2007 11:19
    3

    tjappie, please refer to English version when in doubt. Thanks.

  5. tjappie
    November 9th, 2007 05:31
    2

    dude, your translated pages are total gibberish !!

  6. Steve Chapel
    July 27th, 2007 01:44
    1

    There’s more information about the issue at http://kb.mozillazine.org/Unresponsive_Script_Warning

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

unresponsive script error firefox - firefox unresponsive script - script error firefox - unresponsive script firefox - firefox script error - unresponsive script error - firefox stop javascript - firefox unresponsive script error - java script error firefox - firefox stop script - how to stop unresponsive script - continue stop script running - facebook unresponsive script - script not responding - stop script errors firefox - javascript errors firefox - mozilla unresponsive script - unresponsive script facebook - stop script firefox - firefox warning unresponsive script - firefox "unresponsive script" - javascript timing problem firefox - automatically stop unresponsive script - firefox disable unresponsive script message - firefox max execution time js - script error in firefox - firefox script stopped responding - javascript unresponsive - firefox script execution time - firefox script error runescape - firefox unresponsive - fix unresponsive script firefox - script is not responding - firefox stop this script - java script errors with firefox - mozilla firefox script error - script error message firefox - stop javascript firefox - facebook unresponsive script warning - unresponsive script FIREFOX 2 - unresponsive script firefox 3.5 - zimbra script warning mozilla - firefox java script error - warning unresponsive script error in firefox - script errors on firefox - stop script on firefox halt computer - bootstrap.js unresponsive firefox - detener script firefox automaticamente - facebook, unresponsive script - firefox error javascript -