MozillaZine

Disable extension install delay - Firefox

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 13:31, 2 July 2004
MauricioC (Talk | contribs)

<-- Previous diff
Current revision
Np (Talk | contribs)
(Disable Extension Install Delay (Firefox) moved to Disable extension install delay - Firefox)
Line 1: Line 1:
-<a href="http://www.squarefree.com>Jesse Ruderman</a> gives us <a href="http://www.squarefree.com/archives/000487.html">reasons for not doing this</a> EVEN IF YOU ARE AN ADVANCED USER. Please read it before proceeding.+{{upto|Extensions (Firefox)}}
-Change the necessary lines in "toolkit.jar/content/mozapps/xpinstall/xpinstallConfirm.js" to:+When you install an extension (or click on a link to an XPI file), a confirmation dialog pops up with a short delay, preventing you from immediately confirming the install. '''There are [http://www.squarefree.com/archives/000487.html good reasons for this delay], even if you are an advanced user.''' If you understand the consequences, but want to disable the delay anyway...
-: <code>_installCountdown: 0</code>+
-And+
-: <code>this._installCountdownInterval = setInterval("XPInstallConfirm.okButtonCountdown()",0);</code>+
-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".+==Firefox 2.0==
 +The preference [[security.dialog_enable_delay]] controls the amount of time in milliseconds to wait. Setting this to 0 disables the delay.
-Stolen from [http://forums.mozillazine.org/viewtopic.php?p=536158#536158 Cusser].+==Firefox 1.5==
 +Try [https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&id=775 MR Tech Disable XPI Install Delay].
 + 
 +==External links==
 +* [http://www.squarefree.com/2004/07/01/race-conditions-in-security-dialogs Jesse Ruderman - Race conditions in security dialogs]
 +* [https://bugzilla.mozilla.org/show_bug.cgi?id=162020 Bug 162020 - pop up XPInstall/security dialog when user is about to click]
 +* [http://forums.mozillazine.org/viewtopic.php?p=536158#536158 MozillaZine Forums - XPI Install Delay]
 +* [https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&id=775 MR Tech Disable XPI Install Delay extension]
 +* [https://bugzilla.mozilla.org/show_bug.cgi?id=245737 Bug 245737 - Install countdown should honor "security.dialog_enable_delay"]

Current revision

Up to Extensions (Firefox)

When you install an extension (or click on a link to an XPI file), a confirmation dialog pops up with a short delay, preventing you from immediately confirming the install. There are good reasons for this delay, even if you are an advanced user. If you understand the consequences, but want to disable the delay anyway...

Firefox 2.0

The preference security.dialog_enable_delay controls the amount of time in milliseconds to wait. Setting this to 0 disables the delay.

Firefox 1.5

Try MR Tech Disable XPI Install Delay.

External links