Related issue:
https://github.com/uBlockOrigin/uAssets/pull/22228
This commit is contained in:
Raymond Hill 2024-01-26 22:38:31 -05:00
parent 11dc33eb02
commit 302d2f5670
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 2 deletions

View File

@ -428,7 +428,7 @@ function abortCurrentScriptCore(
return;
}
if ( safe.logLevel > 1 && e.src !== '' ) {
safe.uboLevel(logPrefix, `Matched src\n${e.src}`);
safe.uboLog(logPrefix, `Matched src\n${e.src}`);
}
const scriptText = getScriptText(e);
if ( reNeedle.test(scriptText) === false ) {
@ -436,7 +436,7 @@ function abortCurrentScriptCore(
return;
}
if ( safe.logLevel > 1 ) {
safe.uboLevel(logPrefix, `Matched text\n${scriptText}`);
safe.uboLog(logPrefix, `Matched text\n${scriptText}`);
}
if ( debug === 'match' || debug === 'all' ) { debugger; } // jshint ignore: line
safe.uboLog(logPrefix, 'Aborted');