I want to catch socket message of current page in chrome extension.
The high lighted part of image.
So I write code like bellow.
window.addEventListener('message', (event) => {
console.log(event)
}, false);
Now I get some result.
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)