rem:  var anchorNodes = msgDocument.getElementsByTagName("a"); for (var index = 0; index < anchorNodes.length && !isEmailScam; index++) isEmailScam = isPhishingURL(anchorNodes[index], true); 
add:  var linkNodes = msgDocument.links; for (var index = 0; index < linkNodes.length && !isEmailScam; index++) isEmailScam = isPhishingURL(linkNodes[index], true); 
context: function isMsgEmailScam(aUrl){  var isEmailScam = false;   if (!aUrl || !gPrefBranch.getBoolPref("mail.phishing.detection.enabled"))    return isEmailScam;   // Ignore nntp and RSS messages  var folder = aUrl.folder;  if (folder.server.type == 'nntp' || folder.server.type == 'rss')    return isEmailScam;  // loop through all of the link nodes in the message's DOM, looking for phishing URLs...  var msgDocument = document.getElementById('messagepane').contentDocument;  // examine all anchor tags...  var anchorNodes = msgDocument.getElementsByTagName("a");  for (var index = 0; index < anchorNodes.length && !isEmailScam; index++)    isEmailScam = isPhishingURL(anchorNodes[index], true);  // if an e-mail contains a form element, then assume the message is a phishing attack.  // Legitimate sites should not be using forms inside of e-mail.  if (!isEmailScam && msgDocument.getElementsByTagName("form").length > 0)    isEmailScam = true;  // we'll add more checks here as our detector matures....  return isEmailScam;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dd3faccb760cf2a110b8bc8c50c188c9e2f99948/phishingDetector.js/buggy/mail/base/content/phishingDetector.js