简体   繁体   English

无法加载JavaScript文件

[英]Cannot load javascript file

My webpage has a lot of javascript files (about 100). 我的网页上有很多javascript文件(大约100个)。 Evry single file is loaded fine, except of that one: <script src="javascript/tinymce/tinymce.js" type="text/javascript"></script> 除一个文件外,每次加载的文件都可以正常加载,除了: <script src="javascript/tinymce/tinymce.js" type="text/javascript"></script>

When I add this line, page is loading about 5 minutes and then, tinymce is not loaded. 当我添加此行时,页面将加载约5分钟,然后,不会加载tinymce。 I tried open source code of that file in browser, but tinymce.js is loading to unlimited. 我在浏览器中尝试了该文件的开放源代码,但是tinymce.js正在无限加载。 No errors shown. 没有显示错误。

Path to file is right, because I tried to acces other files (tinymce.dev.js, tinymce.jquery.dev.js...) and everything is loading right. 文件的路径是正确的,因为我尝试访问其他文件(tinymce.dev.js,tinymce.jquery.dev.js ...),并且一切都在正确加载。 File name is same as in source code. 文件名与源代码中的相同。

Any suggestions? 有什么建议么?

I found out, where problem was. 我发现问题出在哪里。 ESET Antivirus 7 blocks internet connection and then files with size more than 256kB won't show. ESET Antivirus 7会阻止Internet连接,然后不会显示大小超过256kB的文件。 So, in ESET: 因此,在ESET中:

  1. Advanced setup (F5) 进阶设定(F5)
  2. Web and email 网络和电子邮件
  3. Web access protection Web访问保护
  4. URL address management URL地址管理
  5. And added these addresses: *127.0.0.1* and *localhost* 并添加以下地址: *127.0.0.1**localhost*

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM