WesselKroos / youtube-ambilight

This browser extension adds ambient light to YouTube videos
MIT License
87 stars 8 forks source link

TypeError in Settings.showWebGLCrashDescription #152

Closed WesselKroos closed 1 year ago

WesselKroos commented 1 year ago

Describe the bug

TypeError: Cannot read properties of null (reading 'appendChild') in Settings.showWebGLCrashDescription when the WebGL renderer crashed and then the user disables WebGL in his/her browser.

To reproduce

Steps to reproduce the behavior:

  1. Let the WebGL renderer crash
  2. Disable WebGL
  3. Refresh the video page
  4. The extension crashes and the settings button is not visible