1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00

code review, looking closer: evaluating filters during load works all fine

This commit is contained in:
gorhill 2014-07-20 21:25:45 -04:00
parent 3b6b6721d9
commit dd4ab6a71a
2 changed files with 0 additions and 9 deletions

View File

@ -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:

View File

@ -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;
}