mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 10:09:38 +02:00
Fix queryprune
for tabless requests
Related feedback: - https://github.com/uBlockOrigin/uBlock-issues/issues/760#issuecomment-724693549
This commit is contained in:
parent
727aa95af0
commit
76ef4811a3
@ -350,7 +350,14 @@ const onBeforeBehindTheSceneRequest = function(fctxt) {
|
||||
fctxt.setRealm('network').toLogger();
|
||||
}
|
||||
|
||||
// Redirected
|
||||
|
||||
if ( fctxt.redirectURL !== undefined ) {
|
||||
return { redirectUrl: fctxt.redirectURL };
|
||||
}
|
||||
|
||||
// Blocked?
|
||||
|
||||
if ( result === 1 ) {
|
||||
return { cancel: true };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user