Merge branch 'dev' into modules-proxy-patches

This commit is contained in:
Nuckyz 2024-06-28 18:55:44 -03:00
commit b8335108e4
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -114,6 +114,7 @@ export default definePlugin({
}
}));
Reflect.deleteProperty(Function.prototype, "g");
Reflect.deleteProperty(Object.prototype, cacheExtractSym);
Reflect.deleteProperty(window, "DiscordSentry");
return { exports: {} };
@ -130,6 +131,7 @@ export default definePlugin({
set() {
new Logger("NoTrack", "#8caaee").error("Failed to disable Sentry. Falling back to deleting window.DiscordSentry");
Reflect.deleteProperty(Function.prototype, "g");
Reflect.deleteProperty(window, "DiscordSentry");
}
});