i'm looking best client side storage chrome extension. local storage isn't suitable can erased user deleting cookies (which common occurrence).
what storage can use permanent storage in chrome extension (excluding websql - deprecated)?
try chrome storage api.
this api has been optimized meet specific storage needs of extensions. provides same storage capabilities localstorage api following key differences:
- user data can automatically synced chrome sync (using storage.sync).
- your extension's content scripts can directly access user data without need background page.
- a user's extension settings can persisted when using split incognito behavior.
- it's asynchronous bulk read , write operations, , therefore faster blocking , serial localstorage api.
- user data can stored objects (the localstorage api stores data in strings).
- enterprise policies configured administrator extension can read (using storage.managed schema).
Comments
Post a Comment