title: How to detect Operating System with JavaScript (without deprecated window.navigator)
body: <p>Detecting the operating system of a visitor used to be easy with the <code>navigator.platform</code> solution. However, this solution is now deprecated, so my question, quite simply, is there another way to retrieve the OS using JavaScript?</p>
  
  <p>I have looked around the web and everything seems to point towards the <code>navigator</code> object, but as you can see from the following link, this has been deprecated...</p>
  
  <p><strong><a href="https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/platform" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/platform</a></strong></p>