Created
March 27, 2019 22:27
-
-
Save ilearnjavascript/4105bc66799179b611321558885a2292 to your computer and use it in GitHub Desktop.
plainjs - window.postmessage and iframes - 4.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // message could be anything | |
| top.postMessage("message from iframe", "http://window.com"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment