Is the background script executed when a Chrome extension is updated?
My extension injects logic to web pages when the background script executes, I am afraid the logic would be injected twice.
Is the background script executed when a Chrome extension is updated?
My extension injects logic to web pages when the background script executes, I am afraid the logic would be injected twice.
Yes, on update the background script is reloaded and executed again.
Existing content scripts are orphaned. There's a whole big question on how to handle that.