fix Decor & NoTrack (#3752)

Co-authored-by: Vendicated <vendicated@riseup.net>
This commit is contained in:
thororen 2025-11-02 12:28:53 -05:00 committed by GitHub
parent 3992f971d0
commit 44a75e4e94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 11 deletions

View file

@ -49,7 +49,7 @@ export default definePlugin({
},
},
{
find: ".METRICS",
find: ".METRICS_V2",
replacement: [
{
match: /this\._intervalId=/,

View file

@ -70,7 +70,7 @@ export default definePlugin({
replacement: [
// Add Decor avatar decoration hook to avatar decoration hook
{
match: /(?<=TryItOut:\i,guildId:\i}\),)(?<=user:(\i).+?)/,
match: /(?<=\.avatarDecoration,guildId:\i\}\)\),)(?<=user:(\i).+?)/,
replace: "vcDecorAvatarDecoration=$self.useUserDecorAvatarDecoration($1),"
},
// Use added hook

View file

@ -104,15 +104,6 @@ export default definePlugin({
replace: "false",
}
},
// Enable option to always record clips even if you are not streaming
{
find: "isDecoupledGameClippingEnabled(){",
replacement: {
match: /\i\.isStaff\(\)/,
replace: "true"
}
},
// Enable experiment embed on sent experiment links
{
find: "dev://experiment/",