0

What is wrong with Chrome? I want to develop just a single html page. Without any server. Just one page. I know that I need web-server for using that page. But I need to just create a short simple html page with linked js and css files. And I can't do this, because chrome is too smart and I get the same error from chrome: Not allowed to load local resource

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset='utf-8' />
    <title>ACAB</title>
    <script type='text/javascript' src="./data_statistic.js"></script>
    ....
Paul Floyd
  • 5,530
  • 5
  • 29
  • 43
Hlib
  • 2,944
  • 6
  • 29
  • 33
  • This question looks very similar to yours, a simple google search on the error message gives you a few links on SO: http://stackoverflow.com/questions/10611796/is-there-any-way-to-load-a-local-js-file-dynamically – emartel Aug 27 '13 at 19:24
  • Just remove the `./` or `file://` from any declared JS and CSS files. – MacK Aug 27 '13 at 19:27
  • thanx emartel, I will use Firefox. – Hlib Aug 27 '13 at 19:31

0 Answers0