Last active
October 10, 2019 19:44
-
-
Save svejdo1/ef0f993feb6207994d543358eac9a30a to your computer and use it in GitHub Desktop.
This file contains 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
var oFrame = document.createElement("iframe"); | |
oFrame.src = "https://barbar-conan.blogspot.com/2019/10/test.html"; | |
oFrame.onload = function() { | |
oFrame.contentWindow.postMessage({ msg: 'hi'}, 'https://gist.github.com'); | |
} | |
document.childNodes[0].childNodes[1].appendChild(oFrame); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment