开发者

Cross domain restriction and limitations from an iframe

Another site uses my iframe domain XYZ.COM. I want to get all html elements of that site (XYZ.COM) and work on it with javascript, just like I do with my own domain page, while using my iframe.

suppose wants to get images of XYZ.COM from iFrame

document.parent; // (its ask permission denied开发者_JS百科) 
document.referrer; // working for me but 
document.referrer.images; //Error: not an object

My debug tool is saying permission denied, because of cross domain restriction. Is there any solution for this, how can I do this?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜