Is there a way to know if the user is using Windows 10 S? Typically one would use the user-agent string to detect operating system and browser, but I do not believe that Edge on Windows 10 S will have a user-agent string any different from Edge on Windows 10 Home or Pro.
Is there any other way to programmatically detect Windows 10 S from within the browser?
To detect the operating system on the client machine, your script can analyze the value of two things:
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With