title: Close iframe cross domain
body: <p>I am trying to do something similar to the Clipper application here <a href="http://www.polyvore.com/cgi/clipper" rel="noreferrer">http://www.polyvore.com/cgi/clipper</a></p>
  
  <p>I can make the iframe appear in another website (cross domain). But I cannot make the "close" button to work.</p>
  
  <p>This is what I used but it doesn't work for cross domain (basically remove the iframe element)</p>
  
  <pre><code>window.parent.document.getElementById('someId').parentNode.removeChild(window.parent.document.getElementById('someId'));    
  </code></pre>
  
  <p>Can you help? Thanks.</p>