Fix Crash Loops and prevent metrics (#580)

This commit is contained in:
Nuckyz 2023-03-06 18:54:01 -03:00 committed by GitHub
parent 36c27f1111
commit 7322c3af04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 1 deletions

View file

@ -38,6 +38,19 @@ export default definePlugin({
match: /window\.DiscordSentry=function.+\}\(\)/,
replace: "",
}
},
{
find: ".METRICS,",
replacement: [
{
match: /this\._intervalId.+?12e4\)/,
replace: ""
},
{
match: /(?<=increment=function\(\i\){)/,
replace: "return;"
}
]
}
]
});