From fd21fe63f79837a5e95aad51ba6442d70cd292d9 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sun, 28 Jul 2024 08:02:36 +0700 Subject: [PATCH] Remove disableTrackEvent() patch --- src/modules/patcher.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/modules/patcher.ts b/src/modules/patcher.ts index 5019285..4a5c2cd 100644 --- a/src/modules/patcher.ts +++ b/src/modules/patcher.ts @@ -140,16 +140,6 @@ if (!!window.BX_REMOTE_PLAY_CONFIG) { return str.replace(text, text + newCode); }, - // Disable trackEvent() function - disableTrackEvent(str: string) { - const text = 'this.trackEvent='; - if (!str.includes(text)) { - return false; - } - - return str.replace(text, 'this.trackEvent=e=>{},this.uwuwu='); - }, - // Block WebRTC stats collector blockWebRtcStatsCollector(str: string) { const text = 'this.shouldCollectStats=!0'; @@ -915,7 +905,6 @@ let PATCH_ORDERS: PatchArray = [ 'disableIndexDbLogging', 'disableTelemetryProvider', - 'disableTrackEvent', ] : []), ...(getPref(PrefKey.REMOTE_PLAY_ENABLED) ? [