shimo164 / re-name-favbar

A Chrome extension to shorten AWS service names in the console
MIT License
3 stars 0 forks source link

fix: default text mapping work properly #15

Closed shimo164 closed 1 year ago

shimo164 commented 1 year ago

In Manifest V3, service worker background scripts (like background.js in your case) and other scripts (like options.js) have separate contexts, and events are not shared across them. This means that the onInstalled event handler in options.js will not be triggered when the extension is installed, and thus the default settings will not be stored.