Maybe in MV2, but in MV3, you have to rely on browser.runtime.onStartup
and browser.runtime.onInstalled
.
We had a question about this a few months ago: MV3 and Customizable Action Icon and Title
1 Like