add:   var delayInterval = 2000; try { var prefs = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); delayInterval = prefs.getIntPref("security.dialog_enable_delay"); } catch (e) {} setTimeout(reenableInstallButtons, delayInterval); 
context: function onLoad(){  var row = 0;  var moduleName, URL, IconURL, certName, numberOfDialogTreeElements;  gBundle = document.getElementById("xpinstallBundle");  gParam = window.arguments[0].QueryInterface(Components.interfaces.nsIDialogParamBlock);  gParam.SetInt(0, 1); // Set the default return to Cancel  numberOfDialogTreeElements = gParam.GetInt(1);  for (var i=0; i < numberOfDialogTreeElements; i++)  {    moduleName = gParam.GetString(i);    URL = gParam.GetString(++i);    IconURL = gParam.GetString(++i); // Advance the enumeration, parameter is unused just now.    certName = gParam.GetString(++i);    addTreeItem(row++, moduleName, URL, certName);  }  // Move default+focus from |accept| to |cancel| button.  var aButton = document.documentElement.getButton("accept");  aButton.setAttribute("default", false);  aButton = document.documentElement.getButton("cancel");  aButton.focus();  aButton.setAttribute("default", true);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e66742e59c0adb4e972b18c926d20479091a143c/institems.js/clean/xpinstall/res/content/institems.js