识别并删除帧破坏代码?
我的 Facebook“点赞”按钮遇到了错误。该错误的修复已发布在这里:
http://wiki.github .com/facebook/connect-js/custom-channel-url
在此解决方案的开头,它指出该错误仅发生在具有自动启动视频(我没有)的页面或具有帧破坏代码的页面上。
因此,我假设我的网站 (http://twistedtime.com) 具有帧破坏代码。我正在使用 cms,因此不确定此代码是什么或我应该查找什么以便将其删除。
有谁知道框架破坏代码是什么样的?
I was experiencing a bug with my Facebook 'like' buttons. The fix for the bug was posted here:
http://wiki.github.com/facebook/connect-js/custom-channel-url
At the beginning of this solution it states that the bug only occurs on pages with autostart video (which I don't have) or pages with frame busting code.
I'm therefore assuming my site (http://twistedtime.com) has frame busting code. I'm using a cms so not sure what this code is or what I should look for so I can remove it.
Does anyone know what the frame busting code would look like?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在 Wikipedia 上找到此类代码的一些很好的示例: Frame Killer
来自网络主页您引用的网站我对所有 Javascript 进行了简单的搜索
window.top
,但它没有返回任何看起来像是正在杀死帧的内容。我认为问题出在其他地方。
You can find some good examples of such code on Wikipedia: Frame Killer
From the homepage of the web site you refer to I did a simple search through all the Javascript for
window.top
and it didn't return anything that looked like it was killing frames.I think the problem lies elsewhere.