Chrome提示A parser-blocking错误.

Chrome提示A parser-blocking错误.

1 A parser-blocking, cross site (i.e. different eTLD+1) script, http://51mld.cn/bd/query.js?vid=20000, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.

prism_patched.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

plugin.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

ckeditor.js:264 Uncaught Error: [CKEDITOR.resourceManager.load] Resource name "prism" was not found at "http://www.yunshu.space/static/ckeditor/ckeditor/plugins/prism/plugin.js?t=J39A".

at CKEDITOR.resourceManager.<anonymous> (ckeditor.js:264)

at e (ckeditor.js:259)

at Array.y (ckeditor.js:259)

at v (ckeditor.js:259)

at HTMLScriptElement.CKEDITOR.env.ie.e.$.onerror (ckeditor.js:260)

我是用ubuntu部署django博客,本地环境没有问题,部署后报如上错误.
我查询了一下,有说 DNS 劫持, 有说 document.write 的,因为我是刚学习的菜鸟,也没找到具体的办法。
代码里引用是:

  • <script src="{% static
    'ckeditor/ckeditor/plugins/prism/lib/prism/prism_patched.min.js'
    %}"></script> <link rel="stylesheet" href="{% static
    'prism/prism.css' %}">

路径我检查了没问题,提示的网站 http://51mld.cn/bd/query.js?v... 是我代码里没有的,请帮忙分下我应该如何处理,谢谢


回答:

下面这个资源不存在。

http://www.yunshu.space/stati...

以上是 Chrome提示A parser-blocking错误. 的全部内容, 来源链接: utcz.com/a/161620.html

回到顶部