Firefox:取消扩展安装等待时间
Mozilla中文Wiki
原文链接:Disable Extension Install Delay (Firefox) (http://kb.mozillazine.org/Disable_Extension_Install_Delay_%28Firefox%29)
FIXME:翻译
From MozillaZine Knowledge Base
Jesse Ruderman (http://www.squarefree.com) gives us reasons for not doing this (http://www.squarefree.com/archives/000487.html) EVEN IF YOU ARE AN ADVANCED USER. Please read it before proceeding.
Change the necessary lines in "toolkit.jar/content/mozapps/xpinstall/xpinstallConfirm.js" to:
_installCountdown: 0
And
this._installCountdownInterval = setInterval("XPInstallConfirm.okButtonCountdown()",0);
You can access "xpinstallConfirm.js" by unzipping "toolkit.jar" in your "/path/to/Firefox/chrome" folder to somewhere else, keeping directory/folder structure intact. Modify the JS file and repackage everything with the folder structure it originally was stored into ZIP file. Rename the ZIP file to "toolkit.jar" and rename the original "toolkit.jar" to "toolkit.jar.bak" (as a backup). Then place the new "toolkit.jar" into "/path/to/Firefox/chrome".
Stolen from Cusser (http://forums.mozillazine.org/viewtopic.php?p=536158#536158).
![[首页]](/stylesheets/images/wiki.png)