Detect the underlying OS in a Chrome Packaged App -
since packaged apps can run on different platforms, there way distinguish between windows , mac ?
i show vis-à-vis keyboard shortcuts , being able detect os in example showing command ⌘c or ctrlc accordingly.
you can use window.navigator
in js. typically have information you're looking for. in window.navigator.platform.
Comments
Post a Comment