1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 11:22:38 +01:00

Fix queryprune for tabless requests

Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/760#issuecomment-724693549
This commit is contained in:
Raymond Hill 2020-11-10 08:58:39 -05:00
parent 727aa95af0
commit 76ef4811a3
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

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