title: Detecting Apple Silicon mac in JavaScript
body: <p>Is there a way to detect Apple Silicon Mac in JavaScript?<br />
  Properties in <code>navigator</code> don't seem to be very helpful, for example, <code>navigator.platform</code> is set to <code>MacIntel</code> and the user agent is exactly the same.</p>
  <p>The why part: I have two versions of my software available, for Intel and for Apple Silicon. Asking users &quot;Is your Mac Apple Silicon or Intel?&quot; is not great.</p>