Will the data stored in chrome.storage be cleared when removing the google chrome plugin


When you delete (or uninstall) a Chrome plugin (or extension), the data stored by the extension in githubchrome.storage is usually cleared.

Specifically, Chrome offers two main storage spaces: chrome.storage.syncand chrome.storage.local:

  • chrome.storage.sync: The data here will be synchronized with the user's Google account so that it can be accessed on multiple devices. When the extension is uninstalled, the data here is preserved so that it can be accessed again if the user reinstalls the extension on another device.

  • chrome.storage.local: The data here is only saved on the local device. When the extension is uninstalled, the data here will be deleted.

However, to avoid accidental data loss, it is best practice to always back up important data. If you are an extension developer, you might consider reminding users to back up their data before uninstalling the extension.

Guess you like

Origin blog.csdn.net/m0_57236802/article/details/132377936