I’m looking for a way to insert JavaScript into a dashboard and use it to access elements (HTML elements) of the dashboard, for example, to attach click events. My scenario is as follows: I am using the TrashCard from HACS, and I would like to navigate to another dashboard view with the waste calendar when tapping/clicking on the TrashCard. Unfortunately, it seems that there is no way to react to the tap event in the TrashCard itself. Therefore, I had the idea to handle this with a custom JavaScript file. I have included the file and tried using querySelectorAll in the document load event to filter for the TrashCard element, but unfortunately, it doesn’t find any elements, likely because they aren’t present in the DOM yet. Does anyone have any idea how to solve this?