2 ms·
Some browsers hook into the device's accelerometer and expose that information to the web-page. For example, Firefox fires MozOrientation JavaScript events[1] w
by thristian 15y ago
Some browsers hook into the device's accelerometer and expose that information to the web-page. For example, Firefox fires MozOrientation JavaScript events[1] when it's running on a device with an accelerometer.
[1]: https://developer.mozilla.org/en/DOM/MozOrientation https://developer.mozilla.org/en/DOM/MozOrientation