mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
fix silly mistake in fix for #3526
This commit is contained in:
parent
9fb455d2df
commit
d42adc912d
1 changed files with 3 additions and 2 deletions
|
@ -871,6 +871,8 @@ var filterDocument = (function() {
|
|||
charset: undefined
|
||||
};
|
||||
|
||||
request.selectors = µb.htmlFilteringEngine.retrieve(request);
|
||||
|
||||
// https://github.com/gorhill/uBlock/issues/3526
|
||||
// https://github.com/uBlockOrigin/uAssets/issues/1492
|
||||
// Two distinct issues, but both are arising as a result of
|
||||
|
@ -880,9 +882,8 @@ var filterDocument = (function() {
|
|||
// script tags on a page.
|
||||
//
|
||||
if ( µb.hiddenSettings.streamScriptInjectFilters ) {
|
||||
request.selectors = µb.htmlFilteringEngine.retrieve(request);
|
||||
request.scriptlets = µb.scriptletFilteringEngine.retrieve(request);
|
||||
}
|
||||
request.scriptlets = µb.scriptletFilteringEngine.retrieve(request);
|
||||
|
||||
if (
|
||||
request.selectors === undefined &&
|
||||
|
|
Loading…
Reference in a new issue