javascript - Desktop HTML file won't load in Chrome but works in IE -


i have .html file saved desktop, , when try open in chrome or firefox, stays on screen says "loading..."

if try open in ie, says "loading..." changes "finished loading" after few seconds.

i show code, cannot, contains private information, structure follows:

edit: add more information structure of code when can.

<html> <body>  <div></div> <div></div>  <script></script>  </body> <html> 

my best guess have xhr call in script. chrome not load files local filesystem via xhr default. affects loading of resources if examples viewed via file:// protocol. enable loading of such files should use new flag --allow-file-access-from-files.


Comments