зеркало из https://github.com/mozilla/pjs.git
Bug #279191 ---> only invoke the phishing detector for left clicks not right clicks...
This commit is contained in:
Родитель
e20fafca39
Коммит
30091d1a3a
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче