add:    try { var extProtService = Components.classes["@mozilla.org/uriloader/external-protocol-service;1"].getService(); extProtService = extProtService.QueryInterface(Components.interfaces.nsIExternalProtocolService); var scheme = href.substring(0, href.indexOf(":")); if (!extProtService.isExposedProtocol(scheme)) return; } catch (ex) {}  
context: function messagePaneOnClick(event){  // if this is stand alone mail (no browser)  // or this isn't a simple left click, do nothing, and let the normal code execute  if (event.button != 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey)  {    contentAreaClick(event);    return;  }  // try to determine the href for what you are clicking on.    // for example, it might be "" if you aren't left clicking on a link  var href = hrefForClickEvent(event);  if (!href)     return;  // we know that http://, https://, ftp://, file://, chrome://,   // resource://, about:, and gopher:// (as if),   // should load in a browser.  but if we don't have one of those  // (examples are mailto, imap, news, mailbox, snews, nntp, ldap,   // and externally handled schemes like aim)  // we may or may not want a browser window, in which case we return here  // and let the normal code handle it  var needABrowser = /(^http(s)?:|^ftp:|^file:|^gopher:|^chrome:|^resource:|^about:)/i;  if (href.search(needABrowser) == -1)     return;  // if you get here, the user did a simple left click on a link  // that we know should be in a browser window.  // since we are in the message pane, send it to the top most browser window   // (or open one) right away, instead of waiting for us to get some data and  // determine the content type, and then open a browser window  // we want to preventDefault, so that in  // nsGenericHTMLElement::HandleDOMEventForAnchors(), we don't try to handle the click again  event.preventDefault();  openTopBrowserWith(href);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/18d8f4d7868e01d18eaaf16ef662e671a01ec5ad/mailWindow.js/buggy/mailnews/base/resources/content/mailWindow.js