mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-02 00:42:45 +01: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();
|
fctxt.setRealm('network').toLogger();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Redirected
|
||||||
|
|
||||||
|
if ( fctxt.redirectURL !== undefined ) {
|
||||||
|
return { redirectUrl: fctxt.redirectURL };
|
||||||
|
}
|
||||||
|
|
||||||
// Blocked?
|
// Blocked?
|
||||||
|
|
||||||
if ( result === 1 ) {
|
if ( result === 1 ) {
|
||||||
return { cancel: true };
|
return { cancel: true };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user