1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00

this addresses #905#issuecomment-76543649

This commit is contained in:
gorhill 2015-02-28 15:34:50 -05:00
parent dc8623f1e8
commit 6a3f2242b6

View File

@ -125,7 +125,11 @@ var onBeforeRequest = function(details) {
pageStore.logRequest(requestContext, result);
// https://github.com/gorhill/uBlock/issues/905#issuecomment-76543649
// No point updating the badge if it's not being displayed.
if ( µb.userSettings.showIconBadge ) {
µb.updateBadgeAsync(tabId);
}
// https://github.com/gorhill/uBlock/issues/18
// Do not use redirection, we need to block outright to be sure the request