mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 22:09:32 +00:00
Bug #279191 ---> only invoke the phishing detector for left clicks not right clicks...
This commit is contained in:
parent
3bc5cf665e
commit
bd46cca35c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user