mirror of
https://github.com/encounter/uBlock.git
synced 2026-03-30 11:41:36 -07:00
Merge branch 'master' of github.com:gorhill/uBlock
This commit is contained in:
@@ -209,7 +209,7 @@ var is3rdParty = function(srcHostname, desHostname) {
|
||||
return true;
|
||||
}
|
||||
// Do not confuse 'example.com' with 'anotherexample.com'
|
||||
return desHostname.lenght !== srcDomain.lenght &&
|
||||
return desHostname.length !== srcDomain.length &&
|
||||
desHostname.charAt(desHostname.length - srcDomain.length - 1) !== '.';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user