Unbrick Vencord - Pt 1

This commit is contained in:
Vendicated 2022-09-27 14:34:57 +02:00
parent d0940a8b19
commit 6398dd25d2
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
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: "",
}
}