From dd4ab6a71a2c3581b50f95b39b794cf76b7e69e5 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 20 Jul 2014 21:25:45 -0400 Subject: [PATCH] code review, looking closer: evaluating filters during load works all fine --- js/abp-filters.js | 3 --- js/abp-hide-filters.js | 6 ------ 2 files changed, 9 deletions(-) diff --git a/js/abp-filters.js b/js/abp-filters.js index 92c6e1b4d..561248ec2 100644 --- a/js/abp-filters.js +++ b/js/abp-filters.js @@ -1373,9 +1373,6 @@ FilterContainer.prototype.match3rdPartyHostname = function(requestHostname) { FilterContainer.prototype.matchString = function(pageDetails, requestURL, requestType, requestHostname) { // adbProfiler.countUrl(); - if ( this.frozen !== true ) { - return false; - } // https://github.com/gorhill/httpswitchboard/issues/239 // Convert url to lower case: diff --git a/js/abp-hide-filters.js b/js/abp-hide-filters.js index 6a15042bb..dc5248a48 100644 --- a/js/abp-hide-filters.js +++ b/js/abp-hide-filters.js @@ -613,9 +613,6 @@ FilterContainer.prototype.addFilterEntry = function(filterDict, hash, f) { /******************************************************************************/ FilterContainer.prototype.retrieveGenericSelectors = function(tabHostname, request) { - if ( this.frozen !== true ) { - return; - } if ( !tabHostname || µb.getCosmeticFilteringSwitch(tabHostname) !== true ) { return; } @@ -674,9 +671,6 @@ FilterContainer.prototype.retrieveGenericSelectors = function(tabHostname, reque /******************************************************************************/ FilterContainer.prototype.retrieveDomainSelectors = function(tabHostname, request) { - if ( this.frozen !== true ) { - return; - } if ( !tabHostname || µb.getCosmeticFilteringSwitch(tabHostname) !== true ) { return; }