aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/noTrack.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/noTrack.ts')
-rw-r--r--src/plugins/noTrack.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/noTrack.ts b/src/plugins/noTrack.ts
index ff4b95c..49f542e 100644
--- a/src/plugins/noTrack.ts
+++ b/src/plugins/noTrack.ts
@@ -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: "",
}
}