dispatchMessage - doesn't work in firefox
Closed this issue · 3 comments
Deleted user commented
I am trying to send notification from content to background script and it work in all browsers exept firefox.
Firefox: 38.0.1
Kango: 1.7.6
Content.js
kango.dispatchMessage('notification', 'example');
Main.js
kango.addMessageListener('notification', function(event) ...
akrylysov commented
Please send us your extension.
Deleted user commented
I have sent you extension with code.
akrylysov commented
It works fine, you just shouldn't use alert
in background scripts because it is not available. We'll add it to documentation.