Hi @Toriyama
We can keep the server's URL in the extension's storage to fix Failed to construct 'URL': Invalid URL
. The code looked something like this:
var stored_url = await get_from_browser_storage('axe_server_url')
var url = new URL(stored_url || DEFAULT_SERVER_URL)
For the second error you can refer to the similar issue in the following link
https://github.com/prevwong/craft.js/issues/161
To solve the "Cannot read property 'parentNode' of null" error, place the JS script tag at the bottom of the body. The JS script tag should run after the DOM elements have been loaded
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.