fuck sentry

This commit is contained in:
Astra 2018-04-28 09:58:23 -04:00
parent fa131c9bbf
commit 0cade55978

View file

@ -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...');