DEV Community

Justin Touchstone
Justin Touchstone

Posted on

Need Help

I want to catch socket message of current page in chrome extension.
The high lighted part of image.

Image description

So I write code like bellow.
window.addEventListener('message', (event) => {
console.log(event)
}, false);

Now I get some result.

Image description

But I can get what I want.
So It means what I want is not message?
How can I catch it?
Please help me.

Top comments (0)