封锁了原产地“http://static.ak.facebook.com”的框架;从原址访问帧 [英] Blocked a frame with origin "http://static.ak.facebook.com" from accessing a frame with origin

查看:143
本文介绍了封锁了原产地“http://static.ak.facebook.com”的框架;从原址访问帧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

突然开始给出这个错误:

Suddenly starts to give this error :


阻止了一个起始帧 http://static.ak.facebook.com
访问一个起始帧http://*****.com 。请求
的框架将document.domain设置为facebook.com,但是访问的
的框架没有。两者都必须将document.domain设置为
允许访问的相同值。

Blocked a frame with origin "http://static.ak.facebook.com" from accessing a frame with origin "http://*****.com". The frame requesting access set "document.domain" to "facebook.com", but the frame being accessed did not. Both must set "document.domain" to the same value to allow access.


推荐答案

根据我的经验,这意味着您正在运行iFrame,Facebook无法访问的地方,如本地计算机。当您的iFrame出现时,Facebook将会扫描您的页面。如果你的页面是公开的,你不会得到这个错误,iFrame / Facebook的插件应该正常工作。

In my experience it means you are running the iFrame somewhere that facebook can't access, like your local computer. Facebook trys to scan your page when your iFrame comes up. If your page is public, you wont get that error and the iFrame/facebook like plugin should work properly.

这篇关于封锁了原产地“http://static.ak.facebook.com”的框架;从原址访问帧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆