Skip to content

Instantly share code, notes, and snippets.

@coma
Created April 22, 2022 14:46
Show Gist options
  • Save coma/bed166354bd7da23b20d10fccf941bda to your computer and use it in GitHub Desktop.
Save coma/bed166354bd7da23b20d10fccf941bda to your computer and use it in GitHub Desktop.
Testing postMessage
window.addEventListener('message', event => console.log('🏴‍☠️', event.data));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment