var bk = new Bookmark();
bk.link=blink;
bk.title=btitle;
bk.tags=["11","22"];
for(var i=0;i<20;i++)
{
bks.push(bk);}
chrome.storage.sync.set({"bookmarks":bks});
I'm developing a simple chrome extension. I use chrome.storage to store data,because it can save objects. when I store a small array,it get “Error during storage.set: Quota exceeded",the size of the array is so small and I had set "unlimitedStorage" in permissions. "permissions": ["tabs", "http:///","cookies","storage","unlimitedStorage"] Can anyone help? Thanks very much!
unlimitedStorage is only applicable for client-side storage. chrome.storage.sync has a storage limit of only 100kb, and only 4kb for each item.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With