I’m writing a Web Extension (on Firefox first).
I’m facing a case where I need to know when my extension is being disabled. I understand that
management.onDisabled.addListener is not implemented yet on Firefox, and that it probably will never be, because
The only extensions we found in the list of popular extensions that use these API events seem to use them in a questionable way.
So, I guess that trying to monitor when my extension is disabled or uninstalled is not the right thing to do?
Still, I need to release resources when that happens: how can I achieve that, is there another event I should listen to?
Thanks for your help!