DEV Community

Discussion on: Chrome Local Storage in Extensions

Collapse
 
rhythm010 profile image
rhythm010

If I want to store some data for the chrome extension that stays even when the browser window is closed, what kind of storage should be useful then.

Collapse
 
milandhar profile image
milandhar

Chrome's local storage can persist when the window closes. You can use either storage.local or storage.sync to accomplish that.