KangoExtensions / kango

Kango framework issue tracker
74 stars 7 forks source link

how to communicate with content script from popup.html in kango frame work #96

Closed suganthiravichandran closed 10 years ago

suganthiravichandran commented 10 years ago

I have tried to create cross browser extension using kango framework. I need a way to make a communication between content script and popup.html. Please help me.

akrylysov commented 10 years ago

You can subscribe to messages in your popup using kango.addMessageListener, then dispatch message from content script using kango.dispatchMessage. Take a look at Messaging demo sample.