Обговорення » Розробка

Add Script Overrides?

§
Опубліковано: 16.11.2023

how do i add overrides to scripts? like for example i want to find all the ,Stone:{ and replace it with ,Stone:{transTex: !0,
like this const modifiedScript = scriptText.replace(',Stone:{', ',Stone:{transTex: !0,'); how do i apply the modification so chrome or whatever uses the script?

NotYouMod
§
Опубліковано: 17.11.2023

You may try to use Object.defineProperty, on object Object.prototype, have you tried that?

Опублікувати відповідь

Sign in to post a reply.

长期地址
遇到问题?请前往 GitHub 提 Issues。