I have a background.js
with following snippet:
chrome.browserAction.onClicked.addListener(toggleStatus);
Now inside toggleStatus
I'd like to send a message to my content script, that something has happened. Is that possible?
Or am I completely missing the point, is this the right way to go?
Behind this is that I'd like to activate/deactive my extension, without the need of reloading the page.