0

Is possible to get architecture of OS using JS? (If yes, how)

28th Jun 2021, 1:31 PM
Václav Hajšman
Václav Hajšman - avatar
3 odpowiedzi
+ 11
I guess there's no a reliable way of doing it, but you can try some solutions from here: https://stackoverflow.com/questions/1741933/detect-64-bit-or-32-bit-windows-from-user-agent-or-javascript
28th Jun 2021, 3:43 PM
Igor Makarsky
Igor Makarsky - avatar
+ 1
28th Jun 2021, 9:25 PM
Václav Hajšman
Václav Hajšman - avatar
0
you cannot fully trust this information by using JS, as it can have been modified by user, but it is usually (not always) available in User Agent header string ^^ https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/userAgent
28th Jun 2021, 6:28 PM
visph
visph - avatar