Unbrick Vencord - Pt 1

This commit is contained in:
Vendicated
2022-09-27 14:34:57 +02:00
parent d0940a8b19
commit 6398dd25d2
9 changed files with 34 additions and 48 deletions

View File

@ -9,14 +9,14 @@ export default definePlugin({
{
find: "TRACKING_URL:",
replacement: {
match: /=\(0,.\.analyticsTrackingStoreMaker\)/,
replace: "=(function(){})",
match: /^.+$/,
replace: "()=>{}",
},
},
{
find: "window.DiscordSentry=",
replacement: {
match: /window\.DiscordSentry=\(0,.\.initSentry\)\(\)/,
match: /window\.DiscordSentry=function.+\}\(\)/,
replace: "",
}
}