mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-03 17:49:39 +02:00
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 ||
|
||||
isNetworkURI(sender.frameURL) === false
|
||||
) {
|
||||
response.scriptlets = scriptletFilteringEngine.retrieve(request);
|
||||
scriptletFilteringEngine.injectNow(request);
|
||||
}
|
||||
|
||||
// https://github.com/NanoMeow/QuickReports/issues/6#issuecomment-414516623
|
||||
|
@ -118,7 +118,7 @@ const contentscriptCode = (( ) => {
|
||||
'"', 'hostname-slot', '", ',
|
||||
'"', 'scriptlets-slot', '"',
|
||||
');',
|
||||
'0;',
|
||||
'\n0;',
|
||||
];
|
||||
return {
|
||||
parts: parts,
|
||||
|
Loading…
Reference in New Issue
Block a user