I'm currently using
chrome.cookies.onChanged in a background script to detect cookie changes, but there's no method to determine
where the cookie was added or removed if I have multiple tabs open. How can I determine when cookie changes are made, where they're being made?
Ideally I'd use a content script for this, but content scripts don't have access to the cookies API, so without doing it in a background script, I can't see any way around this. It was recommended I try using Object.observe() instead of the cookies API in a content script, but that doesn't work on global methods, so I can't see any way to observe all cookies.
Any help is greatly appreciated!