I\'m trying to create a website that can be downloaded and run locally by launching its index file.
All the files are local, no resources are used online.
Wh
This solution will allow you to load a local script using jQuery.getScript(). This is a global setting but you can also set the crossDomain option on a per-request basis.
$.ajaxPrefilter( "json script", function( options ) { options.crossDomain = true; });