#webapi

3 bookmarks tagged with #webapi · RSS Feed · ← All Tags

Ambient Light Events and JavaScript detection ✩ Mozilla Hacks – the Web developer blog

https://hacks.mozilla.org/2013/04/ambient-light-events-and-javascript-detection/
The idea with an API for ambient light is to be able to detect the light level around the device – especially since there’s a vast difference between being outside in sunlight and sitting in a dim living room – and adapt the user experience based on that.

Ambient Light Events and JavaScript detection ✩ Mozilla Hacks – the Web developer blog

https://hacks.mozilla.org/2013/04/ambient-light-events-and-javascript-detection
The idea with an API for ambient light is to be able to detect the light level around the device – especially since there’s a vast difference between being outside in sunlight and sitting in a dim living room – and adapt the user experience based on that.

Mozilla’s WebAPI for Firefox takes shape, porn sites quiver in anticipation | ExtremeTech

http://www.extremetech.com/computing/107211-mozillas-webapi-for-firefox-takes-shape-porn-sites-quiver-in-anticipation
The first fruits of Mozilla’s attempt to make a Chrome OS-like Firefox operating system — Boot 2 Gecko — are now beginning to take shape in the Nightly builds of Firefox for Android. Dubbed “WebAPI,” these recent additions allow Firefox to access an Android device’s hardware through a JavaScript API. As of the latest Nightly, Firefox 11 for Android can now read the battery state, capture images from the camera, send SMSes, and trigger the vibrator motor.