title: Get Current URL of iFrame
body: <p>I have tried to do an alert message in the onload event of the iframe with the code
  "this.contentWindow.location.href"
  but due to Javascript's same origin policy, I get the alert message of 'undefined'.  I am trying to use window.postmessage to work around this obstacle with the goal of knowing the current URL of the iframe onload.  Any step in the right direction with or without postmessage will be gratefully appreciated.</p>