popup.js:
...
chrome.storage.sync.set({'source': source, 'active': active, 'secs': secs, 'domain': domain}, function() {
console.log('Settings saved');
});
...
background.js:
chrome.storage.onChanged.addListener(function(tab) {
//something
});
So, can I add a listener for changes of (for example) 'active'?