So, I just installed a new copy of Windows 10 S and launched its Edge browser by default (any other browser would have to be available through the Windows Store, as this is the only way to run applications on this release of Windows 10). window.navigator.userAgent in it was super similar to Windows 10 Pro, except for one tiny detail: something was called "ServiceUI 11" after OS information. I assume this will be a way to find out if the page is working in this release of Windows:
function isWindows10S(){ return window.navigator.userAgent.indexOf("ServiceUI") !== -1; }
Tested on S and Pro in Edge and Chrome.
When trying in IE 11, although I have a different result. The line was "Mozilla / 5.0 (Windows NT 10.0, WOW64; Trident / 7.0; .NET4.0C ..."), and it was identical between S and Pro , so it seems that this method only works for modern browsers based on Gecko :)
source share