This website demonstrates the usage of ambient light and proximity sensors. It is using the MDN API's for Firefox and the W3C API's for Chrome and other browsers.
ambient light sensor:
proximity sensor:
This website demonstrates the usage of ambient light and proximity sensors. It is using the MDN API's for Firefox and the W3C API's for Chrome and other browsers.
ambient light sensor:
proximity sensor: