NoTrack: Make hasClientMods return false

This commit is contained in:
Nuckyz 2024-12-14 02:36:16 -03:00
parent 40a8cf1a85
commit 0a0bd6a713
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -59,6 +59,14 @@ export default definePlugin({
replace: "$&return;" replace: "$&return;"
} }
] ]
},
{
find: ".BetterDiscord||null!=",
replacement: {
// Make hasClientMods return false
match: /(?=let \i=window;)/,
replace: "return false;"
}
} }
], ],