Hello folks, I am using the following API to open my addon’s preferences page whenever it gets installed for the 1st time or updates to a new version.
browser.runtime.onInstalled.addListener(onInstalledFunction);
Problem: Recently, firefox updated to a newer version and I found the page opening again. Is there a way to make sure this page opens only when my addon updates and not the browser?
Thank you,
Daniel.