mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01: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
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue