To detect the operating system on the client machine, your script can analyze the meaning of two things:
- navigator.appVersion
- navigator.userAgent
As we see in the Microsoft document released on 12/15/2016 ( User-Agent String for Microsoft Edge ), the Windows NT token value changes from 6.3 to 10.0 in the EdgeHTML engine, and after Windows 10 S was released on May 2, 2017 , Microsoft did not indicate any changes to navigator.userAgent or navigator.appVersion .
So, Edge on Windows 10 S is no different than Edge on Windows 10 Home or Pro in both cases above.
One more thing I have to say:
userAgent 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 really the one advertised by this property. ( additional information )
source share