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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -