diff --git a/src/plugins/noTrack.ts b/src/plugins/noTrack.ts index 617ab8b49..3287e6a67 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: "()=>{}", } }, {