Javascript – Using the 'integrity' attribute for script tags while avoiding CORS errors over the file-uri protocol
I want to build a lightweight single-page app that people can use locally over the file:// protocol (i.e. simply by downloading the project archive file, unpacking it and double clicking on index.html), as well as on the web (https://). All…