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

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -