I have a chrome extension, and from my background page I open a remote window:
chrome.windows.create({
type : 'popup',
url : "https://www.example.com/mypage.html"
}, function(newWindow) {
});
On my remote page (https://www.example.com/mypage.html) I am waiting for the user to perform an action. When this action is performed, I need to pass back to the extension some data.
How can I do this? I could not find anything relevant in the docs (http://developer.chrome.com/extensions/messaging.html)