source URI is not allowed in this document

守給你的承諾、 提交于 2019-12-23 10:15:29

问题


I am working on a website on my localhost and suddenly I'm now getting this errors.

I get this error on Firefox

<script> source URI is not allowed in this document

And nothing on chrome,` but if I try using the files code, I get:

Application Error: There was a problem getting data for the application you requested. The application may not be valid, or there may be a temporary glitch. Please try again later.

It is basically for: https://connect.facebook.net/en_US/sdk.js.

The browser doesn't even send a GET request for the file.

Everything used to work perfect before. Not sure why I'm getting this.


回答1:


I had an extension installed on both of my browsers. It was preventing it from loading.

If you have any VPNs, hide-tracking extensions, then it needs to be disabled.

In my case it was Disconnect firefox/chrome extension.



来源:https://stackoverflow.com/questions/50555424/source-uri-is-not-allowed-in-this-document

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!