I've put this code into the body tag in my HTML file:
<script src="script.js"></script>
The index.html and script.js files are in the same folder.
When I open the website in the console there's a bunch of different errors displaying (they didn't display some time ago, but I don't know what caused it).
I can open the .html file, but it doesn't read the javascript to execute on the website. I also can't use the console.log() command, the input doesn't display in the console.
I use Firefox Developer Edition and Visual Code Studio with the Live Server Extension.
Here are different errors displaying in the console upon starting the .html file:
Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved
Error: Please use $(ref:runtime.getURL).
Can't start recording from event type: paste [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"```
location: "JS frame :: resource://gre/modules/ExtensionCommon.jsm :: runSafeSyncWithoutClone :: line 69" data: no]
Error: Can't find profile directory. Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved 2 content_script_bundle.js:71