beaufortfrancois / download-chromium

The easiest way to download Chromium
https://download-chromium.appspot.com/
66 stars 14 forks source link

Detect user's CPU type on website #73

Open shinra-electric opened 2 years ago

shinra-electric commented 2 years ago

When I go to download-chromium.appspot.com it can tell that I'm using macOS as the Chromium for Mac Intel tab is automatically selected.

However, going to the website on an M1 also selects Chromium for Mac Intel and not Chromium for Mac ARM

(I know that Apple try to obfuscate the user's details to prevent fingerprinting, but I guess the CPU type is kind of important...?)

1366613 commented 9 months ago

@shinra-electric

I know that Apple try to obfuscate the user's details to prevent fingerprinting

No, not really. It's most probably due to compatibility issues with other user agent parsers.

On browsers based on Chromium 89+, you can detect whether the client is running Apple Silicon by reading the Sec-Ch-Ua-Arch HTTP header sent by the browser. On a typical Apple Silicon Mac machine, this header's value would be set to arm.