Bug #279191 ---> only invoke the phishing detector for left clicks not right clicks...

This commit is contained in:
scott%scott-macgregor.org 2005-01-23 09:02:40 +00:00
parent 3bc5cf665e
commit bd46cca35c

View File

@ -91,10 +91,11 @@
if (linkNode && linkNode.href)
{
handleLinkClick(event, linkNode.href, null);
// block the link click if we determine that this URL
// is phishy (i.e. a potential email scam)
return !isPhishingURL(linkNode, false);
if (!event.button) // left click only
return !isPhishingURL(linkNode, false);
}
return true;