mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Remove disableTrackEvent() patch
This commit is contained in:
parent
857b63a9f9
commit
fd21fe63f7
@ -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) ? [
|
||||
|
Loading…
x
Reference in New Issue
Block a user