From 5bd40b34cd4a4a9d299d516949a66ce72ad63b94 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 18 Oct 2023 09:06:28 -0400 Subject: [PATCH] Support pairing `doc` with `urltransform` Related feedback: https://github.com/gorhill/uBlock/commit/2e4525fe3c509a636fc67776cd728819f54a7de6#commitcomment-130203742 --- src/js/traffic.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/js/traffic.js b/src/js/traffic.js index c004dbb56..9fbe936f0 100644 --- a/src/js/traffic.js +++ b/src/js/traffic.js @@ -200,12 +200,7 @@ const onBeforeRootFrameRequest = function(fctxt) { // https://github.com/uBlockOrigin/uBlock-issues/issues/760 // Redirect non-blocked request? - if ( - result !== 1 && - trusted === false && - pageStore !== null && - staticNetFilteringEngine.hasQuery(fctxt) - ) { + if ( result !== 1 && trusted === false && pageStore !== null ) { pageStore.redirectNonBlockedRequest(fctxt); }