Ambient Light Sensor

- CR

Defines a concrete sensor interface to monitor the ambient light level or illuminance of the device’s environment.

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Edge

  1. 12 - 13: Not supported
  2. 14 - 18: Partial support
  3. 79 - 86: Disabled by default
  4. 87: Disabled by default

Firefox

  1. 2 - 21: Not supported
  2. 22 - 59: Partial support
  3. 60 - 82: Disabled by default
  4. 83: Disabled by default
  5. 84 - 85: Disabled by default

Chrome

  1. 4 - 57: Not supported
  2. 58 - 86: Disabled by default
  3. 87: Disabled by default
  4. 88 - 90: Disabled by default

Safari

  1. 3.1 - 13.1: Not supported
  2. 14: Not supported
  3. TP: Not supported

Opera

  1. 9 - 71: Not supported
  2. 72: Not supported

iOS Safari

  1. 3.2 - 13.7: Not supported
  2. 14: Not supported

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 81: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 59: Not supported

Chrome for Android

  1. 87: Not supported

Firefox for Android

  1. 83: Supported

UC Browser for Android

  1. 12.12: Not supported

Samsung Internet

  1. 4 - 12.0: Not supported
  2. 13.0: Not supported

QQ Browser

  1. 10.4: Not supported

Baidu Browser

  1. 7.12: Not supported

KaiOS Browser

  1. 2.5: Partial support
Resources:
MDN Web Docs - Ambient Light Events
MDN Web Docs - Ambient Light Sensor
Article
Demo