westrfikfoirwegiwe

This commit is contained in:
Astra 2018-04-27 20:57:13 -04:00
parent 99976473dd
commit 2674a4dece
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@
// hijack the crash handler
// TODO: make this less ugly
/*$api.util.findFuncExports('CRASH', 'prototype').prototype.render = function () {
$api.util.findFuncExports('CRASH', 'prototype').prototype.render = function () {
console.error('*** DISCORD CRASH!!! ***\nLOCKING DISPATCH AND HIJACKING PAGE');
@ -106,7 +106,7 @@ Details may be available in the console (Ctrl+Shift+I), but at this level of cra
// crash whatever was calling render()
throw 'render abort';
}*/
}
// disable analytics
$api.util.findFuncExports("AnalyticEventConfigs").default.track = () => { };