Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

If my max_script_run_time setting is 10, why does it often take Firefox a minute or longer to prompt me to stop an unresponsive script?

  • 3 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 arnoldbird

more options

My browser frequently crashes due to unresponsive scripts, often when I have Google tabs open (google docs, gmail, etc). This wouldn't be such a big problem if Firefox didn't wait so long to give up on these scripts. Firefox sometimes waits a minute or longer, it seems. Sometimes a few minutes. My max_script_run_time setting is 10, so shouldn't FF prompt to stop an unresponsive script after 10 seconds?

My browser frequently crashes due to unresponsive scripts, often when I have Google tabs open (google docs, gmail, etc). This wouldn't be such a big problem if Firefox didn't wait so long to give up on these scripts. Firefox sometimes waits a minute or longer, it seems. Sometimes a few minutes. My max_script_run_time setting is 10, so shouldn't FF prompt to stop an unresponsive script after 10 seconds?

所有回覆 (3)

more options

If you have an unresponsive script warning, probably, the problem is a installed extension. Try to uninstall one by one your extensions to check it, or try to create a new profile.

see for info: Unresponsive Script Warning

thank you

more options

Just to be complete.

There are two prefs to control that maximum, one for website code and another for chrome (extension) code.

more options

@cor-el, would the chrome extension setting affect Firefox?

@ideato, the only enabled extension is firebug.

I don't think my problems are due to extensions in this case. I think my problems are mainly due to various google services (gmail, docs) bugging out. What I'd love is to turn on some setting in Firefox that will give me the ability to abort a page if gets stuck for 20 seconds. I don't know specifically what I mean by "get stuck" in this case. Since some of these web pages never really stop running scripts, or continue running them periodically, it might be hard to define what is the end of a page load and when a page has finished rendering successfully. I just find that at least a couple times a day, FF freezes up, and it's almost always when I have tabs open for one or more google websites. There is often no way un-freeze things. The scripts will continue running for several minutes and FF never presents me with any opportunity to abort. I'm running Ubuntu, so there is no CTRL+ALT+Delete option, and in some cases I have to unplug the computer and pull the battery out because FF becomes completely unresponsive and causes the computer to freeze up. In short, I wish FF knew when and how to give up on a web page.