add: document.getElementById("permanent").disabled = true; 
context: function updateCertStatus() {  var shortDesc, longDesc;  var shortDesc2, longDesc2;  var shortDesc3, longDesc3;  var use2 = false;  var use3 = false;  if(gCert) {    if(gBroken) {       var mms = "addExceptionDomainMismatchShort";      var mml = "addExceptionDomainMismatchLong";      var exs = "addExceptionExpiredShort";      var exl = "addExceptionExpiredLong";      var uts = "addExceptionUnverifiedShort";      var utl = "addExceptionUnverifiedLong";      var use1 = false;      if (gSSLStatus.isDomainMismatch) {        use1 = true;        shortDesc = mms;        longDesc  = mml;      }      if (gSSLStatus.isNotValidAtThisTime) {        if (!use1) {          use1 = true;          shortDesc = exs;          longDesc  = exl;        }        else {          use2 = true;          shortDesc2 = exs;          longDesc2  = exl;        }      }      if (gSSLStatus.isUntrusted) {        if (!use1) {          use1 = true;          shortDesc = uts;          longDesc  = utl;        }        else if (!use2) {          use2 = true;          shortDesc2 = uts;          longDesc2  = utl;        }         else {          use3 = true;          shortDesc3 = uts;          longDesc3  = utl;        }      }            // In these cases, we do want to enable the "Add Exception" button      gDialog.getButton("extra1").disabled = false;      setText("headerDescription", gPKIBundle.GetStringFromName("addExceptionInvalidHeader"));    }    else {      shortDesc = "addExceptionValidShort";      longDesc  = "addExceptionValidLong";      gDialog.getButton("extra1").disabled = true;    }        document.getElementById("viewCertButton").disabled = false;  }  else if (gChecking) {    shortDesc = "addExceptionCheckingShort";    longDesc  = "addExceptionCheckingLong";    document.getElementById("viewCertButton").disabled = true;    gDialog.getButton("extra1").disabled = true;  }  else {    shortDesc = "addExceptionNoCertShort";    longDesc  = "addExceptionNoCertLong";    document.getElementById("viewCertButton").disabled = true;    gDialog.getButton("extra1").disabled = true;  }    setText("statusDescription", gPKIBundle.GetStringFromName(shortDesc));  setText("statusLongDescription", gPKIBundle.GetStringFromName(longDesc));  if (use2) {    setText("status2Description", gPKIBundle.GetStringFromName(shortDesc2));    setText("status2LongDescription", gPKIBundle.GetStringFromName(longDesc2));  }  if (use3) {    setText("status3Description", gPKIBundle.GetStringFromName(shortDesc3));    setText("status3LongDescription", gPKIBundle.GetStringFromName(longDesc3));  }  gNeedReset = true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/f2e2a270fb9a4c3b4979e5c9e6129cbe39dd2084/exceptionDialog.js/buggy/security/manager/pki/resources/content/exceptionDialog.js