mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-23 00:25:15 +01:00
Logging improved (#703)
This commit is contained in:
parent
e0f8719391
commit
ca96c8ffca
@ -41,8 +41,8 @@ interceptor.handleRequest = function (requestDetails, tabIdentifier, tab) {
|
||||
};
|
||||
}
|
||||
|
||||
if (!interceptor.blockMissing && interceptor._isBadResource(requestDetails.url)) {
|
||||
console.warn(`[ LocalCDN ] Evil resource blocked: ${requestDetails.url}`);
|
||||
if (interceptor._isBadResource(requestDetails.url)) {
|
||||
console.log(`[ LocalCDN ] Evil resource blocked: ${requestDetails.url}`);
|
||||
log.append(tab.url, requestDetails.url, '-', true);
|
||||
return {
|
||||
'cancel': true
|
||||
|
Loading…
Reference in New Issue
Block a user