diff --git a/shared.js b/shared.js index 95c865a..6b34a08 100644 --- a/shared.js +++ b/shared.js @@ -45,11 +45,12 @@ function __epprint(str) { __epprint('disabling self xss warning...'); $api.util.findFuncExports('consoleWarning').consoleWarning = e => { }; - // restore original native methods - __epprint('unfucking natives methods...'); + // fuck sentry + __epprint('fucking sentry...'); var sentry = wc.findCache('_originalConsoleMethods')[0].exports; window.console = Object.assign(window.console, sentry._originalConsoleMethods); // console sentry._wrappedBuiltIns.forEach(x => x[0][x[1]] = x[2]); // other stuff + sentry._breadcrumbEventHandler = () => () => { }; // disable event logging // fetch the changelog __epprint('injecting changelog...');