Skip to content

Instantly share code, notes, and snippets.

@thinhbuzz
Last active November 12, 2018 12:47
Show Gist options
  • Save thinhbuzz/b91b5217f55aa4e486933e63b56102ca to your computer and use it in GitHub Desktop.
Save thinhbuzz/b91b5217f55aa4e486933e63b56102ca to your computer and use it in GitHub Desktop.
postMessage
window.addEventListener("message", function (event) {
console.log(event);
}, false);
console.log(123;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment