Support pairing doc with urltransform

Related feedback:
2e4525fe3c (commitcomment-130203742)
This commit is contained in:
Raymond Hill 2023-10-18 09:06:28 -04:00
parent 74a4772e41
commit 5bd40b34cd
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

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