Skip to content

Instantly share code, notes, and snippets.

@DaWe35
Last active June 8, 2022 23:01
Show Gist options
  • Save DaWe35/fbdfadb94748fedf7f4c467ed9559615 to your computer and use it in GitHub Desktop.
Save DaWe35/fbdfadb94748fedf7f4c467ed9559615 to your computer and use it in GitHub Desktop.
Open a web3 webpage, open console and enter this listener so it will log the communication between the site and Metamask.
onmessage = event => {
console.error('Metamask:', event.data.data.data)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment