mirror of https://github.com/gorhill/uBlock.git
Fix scriptlets not being reported in logger (Firefox)
Regression from:
- efe2e0c78a
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2072
This commit is contained in:
parent
879e721338
commit
dd5a93d477
|
@ -658,7 +658,7 @@ const retrieveContentScriptParameters = async function(sender, request) {
|
||||||
µb.canInjectScriptletsNow === false ||
|
µb.canInjectScriptletsNow === false ||
|
||||||
isNetworkURI(sender.frameURL) === false
|
isNetworkURI(sender.frameURL) === false
|
||||||
) {
|
) {
|
||||||
response.scriptlets = scriptletFilteringEngine.retrieve(request);
|
scriptletFilteringEngine.injectNow(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/NanoMeow/QuickReports/issues/6#issuecomment-414516623
|
// https://github.com/NanoMeow/QuickReports/issues/6#issuecomment-414516623
|
||||||
|
|
|
@ -118,7 +118,7 @@ const contentscriptCode = (( ) => {
|
||||||
'"', 'hostname-slot', '", ',
|
'"', 'hostname-slot', '", ',
|
||||||
'"', 'scriptlets-slot', '"',
|
'"', 'scriptlets-slot', '"',
|
||||||
');',
|
');',
|
||||||
'0;',
|
'\n0;',
|
||||||
];
|
];
|
||||||
return {
|
return {
|
||||||
parts: parts,
|
parts: parts,
|
||||||
|
|
Loading…
Reference in New Issue