[英]Origin is not allowed by Access-Control-Allow-Origin.
My website http://www.e-sports.tv.br/ is flashing a black screen when it finished loading. 我的网站http://www.e-sports.tv.br/加载完成后闪烁黑屏。 I don't know how to solve this, but the Developer Console returned these errors: 我不知道如何解决此问题,但是开发者控制台返回了以下错误:
OPTIONS http://fonts.googleapis.com/css?family=Montserrat:400,700|Abril+Fatface|Sou…ka|Droid+Sans|Josefin+Sans|Dancing+Script:400,700|Abel|Rokkitt|Droid+Serif 405 (Method Not Allowed) css3-mediaqueries.js?ver=3.6.1:129
OPTIONS http://fonts.googleapis.com/css?family=Montserrat:400,700|Abril+Fatface|Sou…ka|Droid+Sans|Josefin+Sans|Dancing+Script:400,700|Abel|Rokkitt|Droid+Serif Origin http://www.e-sports.tv.br is not allowed by Access-Control-Allow-Origin. css3-mediaqueries.js?ver=3.6.1:129
XMLHttpRequest cannot load http://fonts.googleapis.com/css?family=Montserrat:400,700|Abril+Fatface|Sou…ka|Droid+Sans|Josefin+Sans|Dancing+Script:400,700|Abel|Rokkitt|Droid+Serif. Origin http://www.e-sports.tv.br is not allowed by Access-Control-Allow-Origin. (index):1
OPTIONS http://s.gravatar.com/css/services.css?ver=2013Octaa 405 (Method Not Allowed) css3-mediaqueries.js?ver=3.6.1:129
OPTIONS http://s.gravatar.com/css/services.css?ver=2013Octaa Origin http://www.e-sports.tv.br is not allowed by Access-Control-Allow-Origin. css3-mediaqueries.js?ver=3.6.1:129
XMLHttpRequest cannot load http://s.gravatar.com/css/services.css?ver=2013Octaa. Origin http://www.e-sports.tv.br is not allowed by Access-Control-Allow-Origin. (index):1
OPTIONS http://s0.wp.com/i/noticons/noticons.css?ver=2.5-201342 Origin http://www.e-sports.tv.br is not allowed by Access-Control-Allow-Origin. css3-mediaqueries.js?ver=3.6.1:129
XMLHttpRequest cannot load http://s0.wp.com/i/noticons/noticons.css?ver=2.5-201342. Origin http://www.e-sports.tv.br is not allowed by Access-Control-Allow-Origin. (index):1
OPTIONS http://s0.wp.com/wp-content/mu-plugins/notes/admin-bar-v2.css?ver=2.5-201342 Origin http://www.e-sports.tv.br is not allowed by Access-Control-Allow-Origin. css3-mediaqueries.js?ver=3.6.1:129
XMLHttpRequest cannot load http://s0.wp.com/wp-content/mu-plugins/notes/admin-bar-v2.css?ver=2.5-201342. Origin http://www.e-sports.tv.br is not allowed by Access-Control-Allow-Origin. (index):1
OPTIONS http://s.gravatar.com/css/hovercard.css?ver=2013Octaa 405 (Method Not Allowed) css3-mediaqueries.js?ver=3.6.1:129
OPTIONS http://s.gravatar.com/css/hovercard.css?ver=2013Octaa Origin http://www.e-sports.tv.br is not allowed by Access-Control-Allow-Origin. css3-mediaqueries.js?ver=3.6.1:129
XMLHttpRequest cannot load http://s.gravatar.com/css/hovercard.css?ver=2013Octaa. Origin http://www.e-sports.tv.br is not allowed by Access-Control-Allow-Origin. (index):1
Blocked a frame with origin "http://www.e-sports.tv.br" from accessing a frame with origin "https://widgets.wp.com". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.
external_contentscript_siteoverlay_bin.js:92
Blocked a frame with origin "http://www.e-sports.tv.br" from accessing a frame with origin "http://googleads.g.doubleclick.net". Protocols, domains, and ports must match. external_contentscript_siteoverlay_bin.js:92
Blocked a frame with origin "http://www.e-sports.tv.br" from accessing a frame with origin "https://platform.twitter.com". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.
Can someone help me figure this out? 有人可以帮我解决这个问题吗?
I got similar errors. 我也遇到类似的错误。 After trying a lot with dead-ends (crossdomain.xml, etc.) I finally found that the Google Publisher Toolbar was causing the errors. 经过大量尝试(crossdomain.xml等)后,我终于发现Google Publisher Toolbar引起了错误。 It is an error that will not display in the browser of your visitors, only in yours. 这是一个错误,不会显示在访问者的浏览器中,只会显示在您的浏览器中。 If you want/need to fix it anyways, remove your domain in the Publisher Toolbar options or disable the Publisher Toolbar completely. 如果您仍然希望/需要对其进行修复,请在“发布者工具栏”选项中删除域,或者完全禁用“发布者工具栏”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.