mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-02 09:09:38 +02:00
this fix #476
This commit is contained in:
parent
bd43babf75
commit
eba046504f
@ -619,14 +619,14 @@ PageStore.prototype.logRequest = function(context, result) {
|
||||
this.contentLastModified = now;
|
||||
}
|
||||
var c = result.charAt(1);
|
||||
if ( c === '' || c === 'a' ) {
|
||||
this.hostnameToCountMap[requestHostname] += 0x00010000;
|
||||
this.perLoadAllowedRequestCount++;
|
||||
µb.localSettings.allowedRequestCount++;
|
||||
} else /* if ( c === 'b' ) */ {
|
||||
if ( c === 'b' ) {
|
||||
this.hostnameToCountMap[requestHostname] += 0x00000001;
|
||||
this.perLoadBlockedRequestCount++;
|
||||
µb.localSettings.blockedRequestCount++;
|
||||
} else /* if ( c === '' || c === 'a' || c === 'n' ) */ {
|
||||
this.hostnameToCountMap[requestHostname] += 0x00010000;
|
||||
this.perLoadAllowedRequestCount++;
|
||||
µb.localSettings.allowedRequestCount++;
|
||||
}
|
||||
µb.localSettingsModifyTime = now;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user