开发者

Get parent page html content from facebook iframe?

开发者 https://www.devze.com 2023-03-26 09:11 出处:网络
Here I am working with facebook application. I have create page which are working in facebook iframe window.

Here I am working with facebook application.

I have create page which are working in facebook iframe window.

I want to access main(Parent) window html source from iframe which create by me.

Here I have tried for

parent.document and window.top.document and window.parent

al开发者_Python百科l three are not working in my case. If you have any other idea then let me know,

Thanks


You can't access content outside of your IFrame. Otherwise you could change content outside of it and modify Facebook, just because your IFrame is loaded inside of Facebook ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消