I\'m developing an extension in Chrome, and there\'s a problem. In my inject.js
, I make a request like:
chrome.extension.sendRequest({command:
Check the latest manuals: http://developer.chrome.com/extensions/messaging.html
Note: If multiple pages are listening for onMessage events, only the first to call sendResponse() for a particular event will succeed in sending the response. All other responses to that event will be ignored.
Close your tabs, leave only one page, and check. In my case this was the issue.