Groups
Groups
Sign in
Groups
Groups
Chromium Extensions
Conversations
About
Send feedback
Help
How to keep storage during uninstall / re-install
49 views
Skip to first unread message
wong2
unread,
Jan 16, 2024, 1:56:08 AM
1/16/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions
I noticed that both chrome.storage, localStorage and cookies are deleted when you uninstall a Chrome extension.
So if I want to keep some data when user uninstall and re-install my extension, is there any available method?
wOxxOm
unread,
Jan 16, 2024, 5:35:24 AM
1/16/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, wong2
Add a button in your popup or other UI page to export the data as a json (
example
) and a button to import it.
Reply all
Reply to author
Forward
0 new messages