1
0
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:
Raymond Hill 2018-02-23 09:45:51 -05:00
parent 9fb455d2df
commit d42adc912d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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 &&