title: Cross domain restriction and limitations from an iframe
body: <p>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.</p>
  
  <p>suppose wants to get images of XYZ.COM from iFrame</p>
  
  <pre><code>document.parent; // (its ask permission denied) 
  document.referrer; // working for me but 
  document.referrer.images; //Error: not an object
  </code></pre>
  
  <p>My debug tool is saying permission denied, because of cross domain restriction.
  Is there any solution for this, how can I do this?</p>