We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd05d1a commit cc062d3Copy full SHA for cc062d3
assets/resources/scriptlets.js
@@ -49,11 +49,10 @@ function safeSelf() {
49
'RegExp': self.RegExp,
50
'RegExp_test': self.RegExp.prototype.test,
51
'RegExp_exec': self.RegExp.prototype.exec,
52
- 'safeLog': console.log.bind(console),
+ 'log': console.log.bind(console),
53
'uboLog': function(msg) {
54
- if ( msg !== '' ) {
55
- this.safeLog(`[uBO] ${msg}`);
56
- }
+ if ( msg === '' ) { return; }
+ this.log(`[uBO] ${msg}`);
57
},
58
};
59
scriptletGlobals.set('safeSelf', safe);
0 commit comments