토론 » 개발

Add Script Overrides?

§
게시: 2023-11-16

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?

NotYou관리자
§
게시: 2023-11-17

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

답글 게시

답글을 게시하려면 로그인하세요.