Firefox Unresponsive Script: Increase JavaScript Execution Waiting Time Firefox的反应迟钝的脚本:增加的JavaScript执行轮候时间
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. Firefox 1.5及以上,包括Firefox 2.0.xsessionsaver在Firefox2.0.x限制了大量的时间,一个脚本或JavaScript了运行和完成。 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.您可以停止脚本,现在,或者您也可以继续地看到,如果该脚本将完成。

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.紧迫的继续,将可能使Firefox浏览器仍然呆滞或没有回应,而停止脚本势必造成一部分的网站上,取决于脚本无法正常运作,如Java脚本菜单,自动刷新或更新流的生活内容。 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.如果您按一下继续,但脚本仍然是悬,您将不断收到迟钝脚本错误对话框一而再,再而一旦预设的最高脚本运行时间击中,这是默认为5秒在Firefox 1.5和10秒在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.摆脱恼人的反应迟钝脚本错误对话框并修正行为的脚本,需要长期执行的时间在Firefox中,我们可以较长的轮候时间为脚本运行之前, Firefox的拦截与警告。
- Run Firefox. Firefox的运行。
- In the Firefox address bar, type about:config , and then press Enter.在Firefox的地址栏中,键入约:配置 ,然后按下ENTER 。
- Scroll and locate or search with Filter text box for dom.max_script_run_time .滚动并找到或搜索与过滤器文本框中为dom.max_script_run_time 。
- 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.双击就行dom.max_script_run_time ,改变价值较高的人数(以秒计)您想要Firefox的等待得到反应迟钝脚本警告。 Be default, the value is 5 or 10 seconds.被默认情况下,该值是5或10秒。 You can safely set the magical number to let’s say 20.您可以放心地订定的神奇编号,以让我们说20 。 You can set the value to 0 to instruct Firefox to wait foever - no warning and dialog whatsoever.您可以将该值设置为0 ,指示Firefox的等待foever -没有任何警告和对话可言。 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.请注意,整个Firefox的可能不是顺应民情,不能使用,而等待的脚本来执行,所以人数不应定得太高,为了给你一个机会,停止真正恶劣的或错误的脚本和收回使用的Firefox 。
- Click OK.单击确定。
- Restart Firefox.重新启动Firefox 。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明 :这是一个机器翻译网页是“按原样”提供的担保。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article英文原版的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和贡献,或取得技术的支持和帮助,在 My Digital Life Forums 我的数字生活论坛 . 。
Related Articles相关文章
- FireFox 1.5 to Provide Better Web Experience Firefox 1.5中提供更好的网络体验
- View Locked Orkut Album Hack鉴于锁定orkut的相册哈克
- Force Close Stopped Responding Programs & Frozen Processes部队密切停止响应的程序及冻结过程
- Crack RapidShare Time Delay and Download Limit裂纹rapidshare时间延迟和下载限制
- Using Invisible Counter with Official StatCounter Plugin for WordPress用无形的柜台正式statcounter插件的WordPress
- Remove and Hide Facebook Ads删除和隐藏Facebook的广告
- Trick to Add AdSense, AdBrite and Other JavaScript Ad Code Directly to Blogger HTML Template伎俩AdSense新增, adbrite和其他JavaScript广告代码直接到Blogger HTML模板
- Disable Firefox Domain Sticky Zoom to Reset Zoom Level on Re-Visit禁用Firefox的网域粘变焦重置缩放级别上再次访问
- Add and Put AdSense Ads Code and JavaScript to Google Page Creator Website新增和提出的AdSense广告代码和JavaScript到Google Page Creator网站
- Firefox 3 Beta 4 Available for Testing火狐3测试版四月可用于测试
















July 27th, 2007 01:44 2007年7月27日1时44分
There’s more information about the issue at还有更多的资料,有关问题 http://kb.mozillazine.org/Unresponsive_Script_Warning http://kb.mozillazine.org/unresponsive_script_warning
November 9th, 2007 05:31 2007年11月9日5时31分
dude, your translated pages are total gibberish !! dude ,你翻译的页面共有无用!
November 9th, 2007 11:19 2007年11月9日11时19分
tjappie, please refer to English version when in doubt. tjappie ,请参阅英文版本有疑问时。 Thanks.谢谢。
February 13th, 2008 07:13 2008年2月13日7时13分
Thanks for this!感谢!
May 21st, 2008 04:55 2008年5月21日4时55分
I had this problem constantly with Firefox halting on the unresponsive script error.我有这个问题,不断与Firefox停止对反应迟钝脚本错误。 I uninstalled it and installed the 2.0.0.14 version. i卸载它并安装了2.0.0.14版本。 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.我选择不更新,窗口消失,随scipt错误。 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.如果是这样,则禁用自动更新警报。
July 11th, 2008 12:22 2008年7月11日12时22分
There’s something that went wrong with Firefox 3 that was fine in FF2, and is causing runaway scripts to happen far more frequently.有什么东西到了错误的与Firefox三是罚款, ff2 ,是导致离家出走的脚本发生至今更频密。 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.不提对话本身变得反应迟钝,因为第二个脚本(或更多! )开始和云疯狂下后,第二次的对话出现。