Methods include navigator.appVersion, navigator.platform, and navigator.userAgent
They seem to all involve getting a string from the methods above and checking if the string contains the desired regular expression such as ‘Mac’ or ‘Win’.
My question is, with respect to HtmlDialogs and SketchUp version compatibility, is there a recommended way to check whether the user is on Mac vs Windows? Or are all of the methods above just as effective / compatible as the other?
I know how to check using Ruby but in my case, my dialog is hosted on a remote server and I only want to affect the server-side code, not the client-side extension code.