From 0cade5597869a8a2653080ca006c07372e892324 Mon Sep 17 00:00:00 2001 From: Astra Date: Sat, 28 Apr 2018 09:58:23 -0400 Subject: [PATCH] fuck sentry --- shared.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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...');