aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-03-30 01:35:42 +0200
committerVendicated <vendicated@riseup.net>2023-03-30 01:35:42 +0200
commit9d41b360c9190b8c62061b302155cfb6742044b2 (patch)
tree0a870b144056ccfd88c3a6cfabe6142f9a997ee9 /src
parent12cbd73e7f775179e42b500a2b3bdb0e7f32e3d1 (diff)
downloadVencord-9d41b360c9190b8c62061b302155cfb6742044b2.tar.gz
Vencord-9d41b360c9190b8c62061b302155cfb6742044b2.tar.bz2
Vencord-9d41b360c9190b8c62061b302155cfb6742044b2.zip
Fix NoTrack
Diffstat (limited to 'src')
-rw-r--r--src/plugins/noTrack.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/noTrack.ts b/src/plugins/noTrack.ts
index 617ab8b..3287e6a 100644
--- a/src/plugins/noTrack.ts
+++ b/src/plugins/noTrack.ts
@@ -35,8 +35,8 @@ export default definePlugin({
{
find: "window.DiscordSentry=",
replacement: {
- match: /window\.DiscordSentry=function.+\}\(\)/,
- replace: "",
+ match: /^.+$/,
+ replace: "()=>{}",
}
},
{