Ambient Light Sensor

- CR

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

Chrome

  1. ❌ 4 - 57: Not supported
  2. ❌ 58 - 155: Disabled by default
  3. ❌ 156: Disabled by default
  4. ❌ 157 - 159: Disabled by default

Edge

  1. ❌ 12 - 13: Not supported
  2. ◐ 14 - 18: Partial support
  3. ❌ 79 - 154: Disabled by default
  4. ❌ 155: Disabled by default

Safari

  1. ❌ 3.1 - 26.6: Not supported
  2. ❌ 27: Not supported
  3. ❌ 27.1 - TP: Not supported

Firefox

  1. ❌ 2 - 21: Not supported
  2. ◐ 22 - 59: Partial support
  3. ❌ 60 - 158: Disabled by default
  4. ❌ 159: Disabled by default
  5. ❌ 160 - 162: Disabled by default

Opera

  1. ❌ 9 - 72: Not supported
  2. ❌ 73 - 134: Disabled by default
  3. ❌ 135: Disabled by default

IE

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

Chrome for Android

  1. ❌ 156: Disabled by default

Safari on iOS

  1. ❌ 3.2 - 26.6: Not supported
  2. ❌ 27.0: Not supported
  3. ❌ 27.1 - 27.2: Not supported

Samsung Internet

  1. ❌ 4 - 29: Not supported
  2. ❌ 30: Not supported

Opera Mini

  1. ❌ all: Not supported

Opera Mobile

  1. ❌ 10 - 12.1: Not supported
  2. ❌ 80: Not supported

UC Browser for Android

  1. ❌ 15.5: Not supported

Android Browser

  1. ❌ 2.1 - 4.4.4: Not supported
  2. ❌ 156: Not supported

Firefox for Android

  1. ✅ 159: Supported

QQ Browser

  1. ❌ 14.9: Not supported

Baidu Browser

  1. ❌ 13.52: Not supported

KaiOS Browser

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