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

Firefox

  1. 2 - 21: Not supported
  2. 22 - 59: Partial support
  3. 60 - 73: Disabled by default
  4. 74: Disabled by default
  5. 75 - 76: Disabled by default

Chrome

  1. 4 - 57: Not supported
  2. 58 - 79: Disabled by default
  3. 80: Disabled by default
  4. 81 - 83: Disabled by default

Safari

  1. 3.1 - 12.1: Not supported
  2. 13: Not supported
  3. 13.1 - TP: Not supported

Opera

  1. 9 - 65: Not supported
  2. 66: Not supported

iOS Safari

  1. 3.2 - 13.2: Not supported
  2. 13.3: Not supported
  3. 13.4: Not supported

Opera Mini

  1. all: Not supported

Android Browser

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

Blackberry Browser

  1. 7: Not supported
  2. 10: Not supported

Opera Mobile

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

Chrome for Android

  1. 80: Not supported

Firefox for Android

  1. 68: Supported

IE Mobile

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

UC Browser for Android

  1. 12.12: Not supported

Samsung Internet

  1. 4 - 10.1: Not supported
  2. 11.1: Not supported

QQ Browser

  1. 1.2: 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