From 152c33976d61cd6d660a410f1b2c51c7b3fe3cbb Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 3 Jul 2014 10:48:04 -0400 Subject: [PATCH] this fixes #42 --- js/abp-filters.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/abp-filters.js b/js/abp-filters.js index b6f50ae76..f990bc92a 100644 --- a/js/abp-filters.js +++ b/js/abp-filters.js @@ -1163,7 +1163,7 @@ FilterContainer.prototype.addFilter = function(parsed) { this.addFilterEntry( filter, parsed, - SpecificNotParty | this.toDomainBits(parsed.notDomains[i]), + SpecificNotParty, tokenBeg, tokenEnd ); @@ -1429,11 +1429,11 @@ FilterContainer.prototype.matchString = function(pageDetails, url, requestType, this.bucket0 = categories[this.makeCategoryKey(BlockAnyTypeAnyParty)]; this.bucket1 = categories[this.makeCategoryKey(BlockAnyType | party)]; this.bucket2 = categories[this.makeCategoryKey(BlockAnyTypeOneParty | domainParty)]; - this.bucket3 = categories[this.makeCategoryKey(BlockAnyTypeOtherParties | domainParty)]; + this.bucket3 = categories[this.makeCategoryKey(BlockAnyTypeOtherParties)]; this.bucket4 = categories[this.makeCategoryKey(BlockAnyParty | type)]; this.bucket5 = categories[this.makeCategoryKey(BlockAction | type | party)]; this.bucket6 = categories[this.makeCategoryKey(BlockOneParty | type | domainParty)]; - this.bucket7 = categories[this.makeCategoryKey(BlockOtherParties | type | domainParty)]; + this.bucket7 = categories[this.makeCategoryKey(BlockOtherParties | type)]; bf = this.matchTokens(); }