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 - 102: Disabled by default
  4. 103: Disabled by default

Firefox

  1. 2 - 21: Not supported
  2. 22 - 59: Partial support
  3. 60 - 101: Disabled by default
  4. 102: Disabled by default
  5. 103 - 104: Disabled by default

Chrome

  1. 4 - 57: Not supported
  2. 58 - 102: Disabled by default
  3. 103: Disabled by default
  4. 104 - 106: Disabled by default

Safari

  1. 3.1 - 15.4: Not supported
  2. 15.5: Not supported
  3. 16.0 - TP: Not supported

Opera

  1. 9 - 72: Not supported
  2. 73 - 85: Disabled by default
  3. 86: Disabled by default
  4. 87: Disabled by default

Safari on iOS

  1. 3.2 - 15.4: Not supported
  2. 15.5: Not supported
  3. 16.0: Not supported

Opera Mini

  1. all: Not supported

Android Browser

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

Opera Mobile

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

Chrome for Android

  1. 103: Not supported

Firefox for Android

  1. 101: Supported

UC Browser for Android

  1. 12.12: Not supported

Samsung Internet

  1. 4 - 16.0: Not supported
  2. 17.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