communication between two iframe children using postMessage
问题 I have some embed code that users can put on their sites. It creates two children iframes on the page. I'd like to have those children be able to communicate. I'm using javascript's window.postMessage https://developer.mozilla.org/en-US/docs/DOM/window.postMessage Since the two iframe children can't communicate directly, I'm using the parent as a relay for messages. However the parent can be on a different domain since it's embeddable code. When all three (parent and two children) are on the