Is there a definitive way of handing open tabs when my add-on is first installed or updated?
I’m trying to use executeScript as is mentioned around abouts, but it’s a real PITA so far, and no existing existing “is my extension supposed to work on this tab” code works as-is.
Plus I seem to get the (on-update) injection occuring before the old one becomes deactivated on the pages (I’ve tried to add code to clear up dead ports upon update). It’s all getting very messy.
Without the content-scripts my add-on will quietly fail after install, or after update, without a restart which kind of makes no-restart updating somewhat pointless.