I am currently stuck at how to save info in such a way that extension could use it.
Yeah. Certain items cannot be saved directly. Would be too easy. I do it with JSON.stringify(Array.from(xxx))
Current headache inducer is event listeners and url filter for me. And why it does not work on new tabs.