mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Improve logging ability in new prevent-innerHTML scriptlet
This commit is contained in:
parent
eda245a1a6
commit
18349292a6
1 changed files with 3 additions and 0 deletions
|
|
@ -67,6 +67,9 @@ export function preventInnerHTML(
|
|||
} else if ( current.set ) {
|
||||
current.set.call(this, a);
|
||||
}
|
||||
if ( safe.logLevel > 1 ) {
|
||||
safe.uboLog(logPrefix, `Assigned:\n${a}`);
|
||||
}
|
||||
current.value = a;
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue