File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,10 @@ function checkPhishingStatus() {
118
118
if ( window . location . protocol != "https:" && window . location . protocol != "file:" ) {
119
119
debug_phishing ( "no https" ) ;
120
120
phishingScore += 0.15 ;
121
+ if ( window . location . protocol == "data:" ) {
122
+ debug_phishing ( "data: protocol found" ) ;
123
+ phishingScore += 0.25 ;
124
+ }
121
125
}
122
126
123
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 ;
243
247
}
244
248
245
249
You can’t perform that action at this time.
0 commit comments