Closed FSund closed 1 year ago
Similar here, I uninstalled browser_mod as I never got around to actually using it. In Chrome Developer tools I see the error:
Failed to load resource: the server responded with a status of 404 (Not Found) for
http://homeassistant.local:8123/browser_mod.js?automatically-added
Also I see
Uncaught (in promise) http://homeassistant.local:8123/browser_mod.js?automatically-added for
3e82212d.js:2
I never configured or used Browser_mod, only installed it via HACS
I have the same issues. I can't find a solution (hence this came up as a result in my search).
I think I have this resolved. Assuming you have the browser_mod HACS integration uninstalled, follow these steps:
:warning: Use extreme caution editing the contents of the config/.storage
directory
config/.storage
directory, find the file named lovelace_resources
, and open this in a text editor {
"url": "/browser_mod.js?automatically-added",
"type": "module",
"id": "d5e2cae8eaa34b0f8b55a243b3e8d5ab"
},
My lovelace_resources
file before the change:
{
"version": 1,
"minor_version": 1,
"key": "lovelace_resources",
"data": {
"items": [
{
"url": "/hacsfiles/button-card/button-card.js?hacstag=146194325350",
"type": "module",
"id": "6fedb0c03c6c43179c786a9399e91fd6"
},
{
"url": "/hacsfiles/lovelace-mushroom/mushroom.js?hacstag=444350375271",
"type": "module",
"id": "eee426684a2b480bb504b73da2b4bcc2"
},
{
"url": "/browser_mod.js?automatically-added",
"type": "module",
"id": "d5e2cae8eaa34b0f8b55a243b3e8d5ab"
},
{
"url": "/hacsfiles/lovelace-layout-card/layout-card.js?hacstag=156434866244",
"type": "module",
"id": "64adcbd431d94f2191e26af4146b1c9d"
}
]
}
}
My lovelace_resources
file following the required change:
{
"version": 1,
"minor_version": 1,
"key": "lovelace_resources",
"data": {
"items": [
{
"url": "/hacsfiles/button-card/button-card.js?hacstag=146194325350",
"type": "module",
"id": "6fedb0c03c6c43179c786a9399e91fd6"
},
{
"url": "/hacsfiles/lovelace-mushroom/mushroom.js?hacstag=444350375271",
"type": "module",
"id": "eee426684a2b480bb504b73da2b4bcc2"
},
{
"url": "/hacsfiles/lovelace-layout-card/layout-card.js?hacstag=156434866244",
"type": "module",
"id": "64adcbd431d94f2191e26af4146b1c9d"
}
]
}
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Home Assistant 2023.1.4 Supervisor 2022.12.1 Operating System 9.4 Frontend 20230110.0 - latest
What I am doing: I had browser_mod installed for a while, but uninstalled it a week or two ago since I was not really using it.
Today I had Chrome developer tools open (F12), and noticed the following error:
What I expected to happen:
I do not expect any trace of browser_mod after uninstallation.
What happened instead:
Something related to browser_mod seems to be trying to load when I load HA.
Error messages from the browser console:
By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I:
[X] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
[X] Have made sure I am using the latest version of the plugin.
[X] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
[X] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.