diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 00f5afe2b..0ad077f0b 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -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==' };