madmicio / LG-WebOS-Remote-Control

Remote Control for LG TV WebOS
393 stars 74 forks source link

Errors logged in Firefox browsers developer tools #94

Open WallyDW opened 2 years ago

WallyDW commented 2 years ago

I was doing some debugging on another subject, but then stumbled over some errors in the logs regarding the LG WebOS Remote code.

The first two lines read:

Loading failed for the module with source “http://10.10.12.10:8123/local/%22your_directory%22/lg-remote-control.js”. [alarm:1:1](http://10.10.12.10:8123/lovelace/alarm)
Loading module from “http://10.10.12.10:8123/local/%22your_directory%22/lg-remote-control.js” was blocked because of a disallowed MIME type (“text/plain”).

Then later I see this one:

Uncaught (in promise) http://10.10.12.10:8123/local/%22your_directory%22/lg-remote-control.js

The last one is followed by these two lines, which may or may not be related:

Browser Control Card: Wake Lock API not supported by this browser. [browser-control-card.js:1:154](http://10.10.12.10:8123/hacsfiles/homeassistant-browser-control-card/browser-control-card.js?hacstag=452251255130)
Browser Control Card: CSS Zoom not supported by this browser.
WallyDW commented 2 years ago

After the second line.

Loading module from “http://10.10.12.10:8123/local/%22your_directory%22/lg-remote-control.js” was blocked because of a disallowed MIME type (“text/plain”).

There were a little "learn more" link, which did not get copy over here, but the link leads to this site: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options