问题
Is there any way to prevent deleting localStorage and data in sync storage (chrome.storage.sync) when user is uninstalls extension? I need to keep persistant authorization data (at least for testing)
回答1:
The answer is no. But there's a bug (or feature?): IndexedDB storage is not deleted with your extension data. Probably you can try that.
来源:https://stackoverflow.com/questions/22396467/chrome-extension-cleans-storage-on-uninstall