mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
fix silly mistake in fix for #3526
This commit is contained in:
parent
9fb455d2df
commit
d42adc912d
@ -871,6 +871,8 @@ var filterDocument = (function() {
|
|||||||
charset: undefined
|
charset: undefined
|
||||||
};
|
};
|
||||||
|
|
||||||
|
request.selectors = µb.htmlFilteringEngine.retrieve(request);
|
||||||
|
|
||||||
// https://github.com/gorhill/uBlock/issues/3526
|
// https://github.com/gorhill/uBlock/issues/3526
|
||||||
// https://github.com/uBlockOrigin/uAssets/issues/1492
|
// https://github.com/uBlockOrigin/uAssets/issues/1492
|
||||||
// Two distinct issues, but both are arising as a result of
|
// Two distinct issues, but both are arising as a result of
|
||||||
@ -880,9 +882,8 @@ var filterDocument = (function() {
|
|||||||
// script tags on a page.
|
// script tags on a page.
|
||||||
//
|
//
|
||||||
if ( µb.hiddenSettings.streamScriptInjectFilters ) {
|
if ( µb.hiddenSettings.streamScriptInjectFilters ) {
|
||||||
request.selectors = µb.htmlFilteringEngine.retrieve(request);
|
|
||||||
}
|
|
||||||
request.scriptlets = µb.scriptletFilteringEngine.retrieve(request);
|
request.scriptlets = µb.scriptletFilteringEngine.retrieve(request);
|
||||||
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
request.selectors === undefined &&
|
request.selectors === undefined &&
|
||||||
|
Loading…
Reference in New Issue
Block a user