Cross-domain frames can set, but not read, each other. (Why? Well, reading places elsewhere will violate the same origin policy, potentially leaking confidential information that appears in the URLs. I'm not quite sure why their installation is allowed. Historically, sites have used the ability to navigate the parent page before framebust , but this is no longer true.)
So, if you are trying to use hash fragments for cross-domain frame communication (and for some reason you cannot use postMessage), then the way to do this is to have the internal frame change the hash fragment of its parent location using window.top.location.href . Then the parent page should check every time for changes in the hash fragment.
Here is the demo I found.
Emily source share