1
0
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:
gorhill 2016-04-20 17:24:07 -04:00
parent 2d26d1dd3d
commit 4dbdd39100

View File

@ -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==' };