mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 17:02:27 +02:00
this addresses 905#issuecomment-76543649
This commit is contained in:
parent
dc8623f1e8
commit
972ef5293d
@ -125,7 +125,11 @@ var onBeforeRequest = function(details) {
|
||||
|
||||
pageStore.logRequest(requestContext, result);
|
||||
|
||||
µb.updateBadgeAsync(tabId);
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user