How can you determine whether a user is using windows version 7 or 8 or 10?
i have
var userAgent = navigator.userAgent;
var match = userAgent.match(/Trident\/(\d+[.]\d+)/);
That checks to see if the user is on IE 11. How can I figure out what version of windows it is using using javascript?