title: Reading parent document from iFrame and changing parent
body: <p>I'm trying to write a JavaScript application that will load a button up in an iFrame on a page.  This application will read the parent document and strip out all images, apply minimal styling and reload the parent with this newly marked up page.</p>
  
  <p>The problem I am having is reading and writing the parent document from the iFrame.  Does anyone know of a way to achieve this?  I've read up a little on cross-domain messaging but am unsure of the alternatives and which would be best.</p>
  
  <p>Thanks in advance.</p>