Nguyen
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
reactibot
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. https://discord.com/channels/102860784329052160/565213527673929729/1130392943694458901 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: https://stackoverflow.com/help/how-to-ask http://wp.me/p2oIwo-26