mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 19:03:02 +01:00
#1497: code review
This commit is contained in:
parent
2d26d1dd3d
commit
4dbdd39100
@ -916,7 +916,7 @@ vAPI.net.registerListeners = function() {
|
||||
var r = onBeforeRequestClient(details);
|
||||
// Blocked?
|
||||
if ( r && r.cancel ) {
|
||||
return { cancel: true };
|
||||
return r;
|
||||
}
|
||||
// Returning a 1x1 transparent pixel means "not blocked".
|
||||
return { redirectUrl: 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==' };
|
||||
|
Loading…
Reference in New Issue
Block a user