hoangvu12 – 06-57 Jul 17

Hi, I'm developing a chrome extension for a web page, I want two way communication between webapp and content-scripts, how can I do that? Currently I'm able to communicate from webapp to content-script using window.postMessage in webapp and window.addEventListener('message', callback); in content-script, but I have no idea how to do send message from content-script to webapp. Thank you
UU
Unknown User274d ago