rem: var emailAddressNode;  if (gCollapsedHeaderViewMode) emailAddressNode = document.getElementById("collapsedfromValue"); else emailAddressNode = document.getElementById("expandedfromBox").emailAddressNode;  if (emailAddressNode) { var emailAddress = emailAddressNode.getTextAttribute("emailAddress"); if (emailAddress){ top.MsgFilters(emailAddress); } } 
add:  var msgHdr = gDBView.hdrForFirstSelectedMessage; var headerParser = Components.classes["@mozilla.org/messenger/headerparser;1"].getService(Components.interfaces.nsIMsgHeaderParser); var emailAddress = headerParser.extractHeaderAddressMailboxes(null, msgHdr.author); if (emailAddress) top.MsgFilters(emailAddress); 
context: function MsgCreateFilter(){  var emailAddressNode;  if (gCollapsedHeaderViewMode)    emailAddressNode = document.getElementById("collapsedfromValue");  else    emailAddressNode = document.getElementById("expandedfromBox").emailAddressNode;    if (emailAddressNode)  {     var emailAddress = emailAddressNode.getTextAttribute("emailAddress");     if (emailAddress){         top.MsgFilters(emailAddress);     }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/7ee040982a200a8f81e04c9b5f4039972dcb15c7/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js