Disable the patch.
This commit is contained in:
parent
85edc95652
commit
8ce607d787
@ -20,7 +20,7 @@ class StarField {
|
|||||||
this.originalColor = getComputedStyle(document.documentElement).getPropertyValue("--star-color").trim();
|
this.originalColor = getComputedStyle(document.documentElement).getPropertyValue("--star-color").trim();
|
||||||
this._createStars();
|
this._createStars();
|
||||||
window.stars = this.positionMap;
|
window.stars = this.positionMap;
|
||||||
this.patchConsole()
|
//this.patchConsole()
|
||||||
this.starSignal = (() => {
|
this.starSignal = (() => {
|
||||||
const positionMap = this.positionMap;
|
const positionMap = this.positionMap;
|
||||||
|
|
||||||
@ -241,6 +241,7 @@ const originalConsole = {
|
|||||||
};
|
};
|
||||||
const me = this
|
const me = this
|
||||||
// Override console methods
|
// Override console methods
|
||||||
|
|
||||||
console.info = function(...args) {
|
console.info = function(...args) {
|
||||||
me.showLogEvent('info', args);
|
me.showLogEvent('info', args);
|
||||||
me.createConsoleStar('info', args);
|
me.createConsoleStar('info', args);
|
||||||
|
Loading…
Reference in New Issue
Block a user