mirror of https://github.com/gorhill/uBlock.git
Support pairing `doc` with `urltransform`
Related feedback:
2e4525fe3c (commitcomment-130203742)
This commit is contained in:
parent
74a4772e41
commit
5bd40b34cd
|
@ -200,12 +200,7 @@ const onBeforeRootFrameRequest = function(fctxt) {
|
||||||
|
|
||||||
// https://github.com/uBlockOrigin/uBlock-issues/issues/760
|
// https://github.com/uBlockOrigin/uBlock-issues/issues/760
|
||||||
// Redirect non-blocked request?
|
// Redirect non-blocked request?
|
||||||
if (
|
if ( result !== 1 && trusted === false && pageStore !== null ) {
|
||||||
result !== 1 &&
|
|
||||||
trusted === false &&
|
|
||||||
pageStore !== null &&
|
|
||||||
staticNetFilteringEngine.hasQuery(fctxt)
|
|
||||||
) {
|
|
||||||
pageStore.redirectNonBlockedRequest(fctxt);
|
pageStore.redirectNonBlockedRequest(fctxt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue