aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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: "()=>{}",
}
},
{