NoTrack: Make hasClientMods return false
This commit is contained in:
parent
40a8cf1a85
commit
0a0bd6a713
1 changed files with 8 additions and 0 deletions
|
@ -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;"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue