I am testing (outside the browser) before deploying. I am running from the release folder.
I have 3 files
project.html
project.js
mainform.html
When I run project.html I get a blank screen in the browser. I thought that this was the equivalent of the index.html. If I run mainform.html than I get what I expect. But no javascript or webcore components.
I looked at the logs and spotted the CORS error again. I have an add-on which is supposed to disable cors checking for certain websites. That did not work. I have fixed it
Type in about:config in the search bar of “Firefox”
Accept the risk and continue
Change privacy.file_unique_origin to false
According to Mozilla developer document, this setting is for your local machine to treat the folder that started the html as the origin.