I have been working on this extension a while. I just recently tried the trick of getting access to the window inside my background script by injecting a script tag into the page via the content script that sends a message to my extension and I had to add something like this:
"externally_connectable": {
"ids": ["*"],
},
to the manifest.json, and as soon as I did, my extension was disabled without any warning or message. Did I do something not allowed? And can I get my extension enabled again? Do I need to delete it and unpack it again? Seems unfortunate if I lose all the data I had in storage.