So, I am making a game-like html file that needs to load a few assets. I have a loading animation which uses the timing of the loading files to create a progress bar. This all goes fine. The files all load, and the app launches. However, none of the files can access each other as they are all in different
script tags. And I cannot merge them because the JS is never actually put into the html. So what I need to do is to access the local file system (it uses the
file:// prototype) and read the file, then stick the text into a script tag. However, all of the examples I have found on the web throw this error:
Xhtmlrequests can only access (list of protocols not including
What I need is a JS way to access the files with no input from the user (other than opening the application). How can this be done?