1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00
This commit is contained in:
gorhill 2015-07-10 14:02:02 -04:00
parent bd43babf75
commit eba046504f

View File

@ -619,14 +619,14 @@ PageStore.prototype.logRequest = function(context, result) {
this.contentLastModified = now; this.contentLastModified = now;
} }
var c = result.charAt(1); var c = result.charAt(1);
if ( c === '' || c === 'a' ) { if ( c === 'b' ) {
this.hostnameToCountMap[requestHostname] += 0x00010000;
this.perLoadAllowedRequestCount++;
µb.localSettings.allowedRequestCount++;
} else /* if ( c === 'b' ) */ {
this.hostnameToCountMap[requestHostname] += 0x00000001; this.hostnameToCountMap[requestHostname] += 0x00000001;
this.perLoadBlockedRequestCount++; this.perLoadBlockedRequestCount++;
µb.localSettings.blockedRequestCount++; µb.localSettings.blockedRequestCount++;
} else /* if ( c === '' || c === 'a' || c === 'n' ) */ {
this.hostnameToCountMap[requestHostname] += 0x00010000;
this.perLoadAllowedRequestCount++;
µb.localSettings.allowedRequestCount++;
} }
µb.localSettingsModifyTime = now; µb.localSettingsModifyTime = now;
}; };