Nguyen13mo ago

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
1 Reply
reactibot13mo ago
This thread hasn’t had any activity in 36 hours, so it’s now locked. Threads are closed automatically after 36 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. Question not getting answered? Maybe it's hard to answer, or maybe you asked at a slow time. Check out these resources for help asking a good question: