To detect the operating system on the client machine, your script can analyze the value of two things:
- navigator.appVersion
- navigator.userAgent
As we can see in Microsoft document that released on 12/15/2016 (User-agent string changes for Microsoft Edge), the Windows NT token's value changes from 6.3 to 10.0 in the EdgeHTML
engine and after that Windows 10 S was released on May 2, 2017 that Microsoft didn't mention any changes in navigator.userAgent
or navigator.appVersion
.
So, Edge on Windows 10 S is no different than Edge on Windows 10
Home or Pro in both of two things above.
Another things that I should to say is:
userAgent
is not reliable.
New browsers may start using the same UA, or part of it, as an older browser: you really have no guarantee that the browser agent is indeed the one advertised by this property. (more information)