Fix PlatformSpoofer & Questify

This commit is contained in:
thororen1234 2026-05-01 09:02:16 -04:00
parent 2f047c1ce6
commit b4d231558b
No known key found for this signature in database
2 changed files with 21 additions and 7 deletions

View file

@ -75,10 +75,10 @@ export default definePlugin({
]
},
{
find: '"2025-01-virtual-currency-rollout"',
find: ".ORBS,label:",
replacement: {
match: /enabled:!1\}:\{enabled:\i\.enabled/,
replace: "enabled:true}:{enabled:true"
match: /\{enabled:(\i).{0,25}"collectibles_shop_header_bar"\}\)/,
replace: "$1=true"
}
}
],

View file

@ -1809,6 +1809,24 @@ export default definePlugin({
}
]
},
{
// Adds support for dev://experiment/2025-12-quest-cta-refactor-rollout
find: "WATCH_VIDEO?async()=>{await",
replacement: [
{
match: /(?=let{quest:)/,
replace: "const questifyText=$self.getQuestUnacceptedButtonText(arguments[0].quest)??$self.getQuestAcceptedButtonText(arguments[0].quest);"
},
{
match: /(?<=}\),)(\i\?\.\(\))/,
replace: "!$self.processQuestForAutoComplete(arguments[0].quest,true)&&($1)"
},
{
match: /(?<=,text:)(\i),icon:\i/,
replace: "questifyText??$1"
}
]
},
{
// Same thing as above, maybe? Different location though.
find: ".ACCEPT_QUEST),",
@ -1825,10 +1843,6 @@ export default definePlugin({
match: /(?<="primary",onClick:)(\i)/,
replace: "()=>{!$self.processQuestForAutoComplete(arguments[0].quest,true)&&$1()}"
},
{
match: /(?<=\}\),)(\i\?\.\(\))/,
replace: "!$self.processQuestForAutoComplete(arguments[0].quest,true)&&($1)"
},
]
},
{