Is there any simple way of passing data (a simple string) from a content script in a Google Chrome extension to the options page of the same extension?
My background page is not persistent and I would like to keep it that way.
I tried both window.postMessage and chrome.extension.sendMessage, but somehow what works with the background page does not work with the options page. Am I overlooking something obvious?
Solution is to message from the Content Script to the background page, keep the message there and then message from the Options dialog to the background page and retrieve it. Both using
chrome.extension.sendMessage.