We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 709a0eb commit fa030b5Copy full SHA for fa030b5
js/webview/phishDetector.js
@@ -118,6 +118,10 @@ function checkPhishingStatus() {
118
if (window.location.protocol != "https:" && window.location.protocol != "file:") {
119
debug_phishing("no https");
120
phishingScore += 0.15;
121
+ if (window.location.protocol == "data:") {
122
+ debug_phishing("data: protocol found");
123
+ phishingScore += 0.25;
124
+ }
125
}
126
127
//penalize long hostnames, since these are often used for phishing
@@ -239,7 +243,7 @@ function checkPhishingStatus() {
239
243
240
244
if (fa.indexOf("javascript:") != 0 && getRootDomain(aTest.hostname) != getRootDomain(window.location.hostname)) {
241
245
debug_phishing("submitting form to xdomain");
242
- phishingScore += 0.66;
246
+ phishingScore += 0.7;
247
248
249
0 commit comments