From 0a0bd6a7135ae1175d3e6721da58a431305cece5 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Sat, 14 Dec 2024 02:36:16 -0300 Subject: [PATCH] NoTrack: Make hasClientMods return false --- src/plugins/_core/noTrack.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/plugins/_core/noTrack.ts b/src/plugins/_core/noTrack.ts index 802e1c95..d552037f 100644 --- a/src/plugins/_core/noTrack.ts +++ b/src/plugins/_core/noTrack.ts @@ -59,6 +59,14 @@ export default definePlugin({ replace: "$&return;" } ] + }, + { + find: ".BetterDiscord||null!=", + replacement: { + // Make hasClientMods return false + match: /(?=let \i=window;)/, + replace: "return false;" + } } ],