admin 管理员组文章数量: 1086019
My website have these error messages when i view it on console. Can anybody tell me what is the problems that usually caused these error messages?
Blocked a frame with origin "mysite" from accessing a frame with origin "facebook". The frame being accessed set "document.domain" to "facebook", but the frame requesting access did not. Both must set "document.domain" to the same value to allow access. contentscript_siteoverlay_bin.js:78
Blocked a frame with origin "mysite" from accessing a frame with origin "youtube". Protocols, domains, and ports must match. contentscript_siteoverlay_bin.js:78
Blocked a frame with origin "mysite" from accessing a frame with origin "googleads". Protocols, domains, and ports must match. contentscript_siteoverlay_bin.js:78
Blocked a frame with origin "mysite" from accessing a frame with origin "facebook". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.
thank you for your help.
My website have these error messages when i view it on console. Can anybody tell me what is the problems that usually caused these error messages?
Blocked a frame with origin "mysite" from accessing a frame with origin "facebook". The frame being accessed set "document.domain" to "facebook", but the frame requesting access did not. Both must set "document.domain" to the same value to allow access. contentscript_siteoverlay_bin.js:78
Blocked a frame with origin "mysite" from accessing a frame with origin "youtube". Protocols, domains, and ports must match. contentscript_siteoverlay_bin.js:78
Blocked a frame with origin "mysite" from accessing a frame with origin "googleads". Protocols, domains, and ports must match. contentscript_siteoverlay_bin.js:78
Blocked a frame with origin "mysite" from accessing a frame with origin "facebook". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.
thank you for your help.
Share Improve this question asked Jun 2, 2013 at 3:36 Ewe Tek MinEwe Tek Min 1811 gold badge1 silver badge3 bronze badges 03 Answers
Reset to default 8iframes and the main page have to match protocols ( Http://
and Https://
)
a secure site can not municate with a not-secure site
just make everything secure to make things easier. Sites like Facebook are going to require it anyways.
You cannot access values in the embedded facebook page. That is against the Same Domain Policy. The two sites can municate using postMessage if you control both sites, but I doubt that you control the facebook part ...
Can you provide some information about the browser where you're getting those errors?
Because Chrome have a know error related with your issue. More info here.
本文标签: javascriptquotProtocols domains and ports must matchquot problemsStack Overflow
版权声明:本文标题:javascript - "Protocols, domains, and ports must match" problems - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1739834415a2092520.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论