Guess it's time to recompile the browser (Chromium in this case?) with some extra switches to remove that chunk of JS code before it's executed?
// But if you're feeling up to it, you can run the following line via an extension to prevent // this abuse:
// Object.defineProperty(window, 'console', {configurable: false, value: window.console});