sereneblue / chameleon

WebExtension port of Random Agent Spoofer
https://sereneblue.github.io/chameleon
GNU General Public License v3.0
521 stars 53 forks source link

socialclub.rockstargames.com does not load correctly #530

Closed alexitx closed 2 years ago

alexitx commented 2 years ago

Expected Behavior

The website https://socialclub.rockstargames.com loads correctly

Current Behavior

A blank white page is shown with only minimal HTML:

Content ```html ...
```

and Intl.ListFormat.supportedLocalesOf is not a function is thrown in the console:

Exception ``` Uncaught (in promise) TypeError: Intl.ListFormat.supportedLocalesOf is not a function shouldPolyfill https://s.rsg.sc/sc/js/20220402biah/build/intl-should-polyfill.js:1 shouldPolyfill https://s.rsg.sc/sc/js/20220402biah/build/intl-should-polyfill.js:1 u https://s.rsg.sc/sc/js/20220402biah/build/app.js:2 o https://s.rsg.sc/sc/js/20220402biah/build/app.js:2 f https://s.rsg.sc/sc/js/20220402biah/build/app.js:2 m https://s.rsg.sc/sc/js/20220402biah/build/app.js:2 loadLanguageAsync https://s.rsg.sc/sc/js/20220402biah/build/app.js:2 default https://s.rsg.sc/sc/js/20220402biah/build/app.js:2 i https://s.rsg.sc/sc/js/20220402biah/build/app.js:2 default https://s.rsg.sc/sc/js/20220402biah/build/app.js:2 88121 https://s.rsg.sc/sc/js/20220402biah/build/app.js:2 f https://s.rsg.sc/sc/js/20220402biah/build/runtime.js:1 https://s.rsg.sc/sc/js/20220402biah/build/app.js:123 O https://s.rsg.sc/sc/js/20220402biah/build/runtime.js:1 https://s.rsg.sc/sc/js/20220402biah/build/app.js:123 n https://s.rsg.sc/sc/js/20220402biah/build/runtime.js:1 https://s.rsg.sc/sc/js/20220402biah/build/app.js:2 ```

with default Chameleon settings and a whitelist rule added. The page only loads correctly when disabling Chameleon via its settings or via the browser completely.

Relevant settings

Configuration ```json { "config": { "enabled": true, "notificationsEnabled": false, "theme": "light", "hasPrivacyPermission": false }, "excluded": [], "headers": { "blockEtag": false, "enableDNT": false, "referer": { "disabled": false, "xorigin": 0, "trimming": 0 }, "spoofAcceptLang": { "enabled": false, "value": "en-US" }, "spoofIP": { "enabled": false, "option": 0, "rangeFrom": "", "rangeTo": "" } }, "ipRules": [], "options": { "cookieNotPersistent": false, "cookiePolicy": "allow_all", "blockMediaDevices": false, "blockCSSExfil": false, "disableWebRTC": false, "firstPartyIsolate": false, "limitHistory": false, "protectKBFingerprint": { "enabled": false, "delay": 1 }, "protectWinName": false, "resistFingerprinting": false, "screenSize": "default", "spoofAudioContext": false, "spoofClientRects": false, "spoofFontFingerprint": false, "spoofMediaDevices": false, "timeZone": "default", "trackingProtectionMode": "always", "webRTCPolicy": "default", "webSockets": "allow_all" }, "profile": { "selected": "none", "interval": { "option": 0, "min": 1, "max": 1 }, "showProfileOnIcon": false }, "version": "0.22.26.1", "whitelist": { "enabledContextMenu": false, "defaultProfile": "none", "rules": [ { "id": "5f0d9f74-c9af-4962-8c7f-140f5ee14acb", "name": "socialclub.rockstargames.com", "sites": [ { "domain": "socialclub.rockstargames.com" } ], "lang": "en-US", "profile": "none", "spoofIP": "", "options": { "audioContext": false, "clientRects": false, "cssExfil": false, "mediaDevices": false, "name": false, "ref": false, "tz": false, "ws": false } } ] } } ```

Context (Environment)

Firefox 99.0.1 Win 10 x64 Chameleon 0.22.26

sereneblue commented 2 years ago

Hi @alexitx, thanks for reporting this issue. I was able to reproduce and write a fix that will be released in the next update.