Skip to content

Commit

Permalink
NoTrack: Make hasClientMods return false
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckyz committed Dec 14, 2024
1 parent 40a8cf1 commit 0a0bd6a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/plugins/_core/noTrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ export default definePlugin({
replace: "$&return;"
}
]
},
{
find: ".BetterDiscord||null!=",
replacement: {
// Make hasClientMods return false
match: /(?=let \i=window;)/,
replace: "return false;"
}
}
],

Expand Down

0 comments on commit 0a0bd6a

Please sign in to comment.