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)
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?