rem: var isKeyPress = (event.type == "keypress"); 
add: var isKeyCommand = (event.type == "command"); 
context:   function contentAreaClick(event)   {    if (!event.isTrusted || event.getPreventDefault()) {      return true;    }    var isKeyPress = (event.type == "keypress");    var ceParams = hrefAndLinkNodeForClickEvent(event);    if (ceParams) {      var href = ceParams.href;      if (isKeyPress) {        openNewTabWith(href, true, event.shiftKey);        event.stopPropagation();      }      else {        handleLinkClick(event, href, ceParams.linkNode);        // if in mailnews block the link left click if we determine        // that this URL is phishy (i.e. a potential email scam)         if ("gMessengerBundle" in this && !event.button)          return !isPhishingURL(ceParams.linkNode, false, href);      }      return true;    }    if (pref && !isKeyPress && event.button == 1 &&        pref.getBoolPref("middlemouse.contentLoadURL")) {      if (middleMousePaste(event)) {        event.stopPropagation();      }    }    return true;  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5d4ec29734edb7501a56990ba43c75d3933249ab/contentAreaClick.js/clean/suite/common/contentAreaClick.js