mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01: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;
|
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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user