1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00
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

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');