One way to identify the operating system on a client machine is by analyzing two key values in your script:
- navigator.appVersion
- navigator.userAgent
A Microsoft document from 12/15/2016 (User-agent string changes for Microsoft Edge) reveals that the Windows NT token's value transitioned from 6.3 to 10.0 in the EdgeHTML
engine before the release of Windows 10 S on May 2, 2017. Interestingly, there were no reported alterations to navigator.userAgent
or navigator.appVersion
.
Therefore, Edge on Windows 10 S behaves similarly to Edge on Windows 10 Home or Pro regarding these identifiers.
It's important to note that:
userAgent
may not always be dependable.
New browsers could potentially adopt the same user agent as older browsers, leading to uncertainty about the accuracy of this property. (more information)