Unchecked runtime.lastError while running storage.set: QUOTA_BYTES_PER_ITEM quota exceeded
This error comes when you use chrome.storage.sync.set…to set the data greater than 8,192 bytes for a single item as chrome.storage.sync.set allows 8,192 QUOTA_BYTES_PER_ITEM. Use chrome.storage.local.set, to save the large data…instead of chrome.storage.sync.set. As chrome.storage.local.set can contains 5242880 :QUOTA_BYTES. See https://developer.chrome.com/extensions/storage Also, you can get the alert if still want to use chrome.storage.sync.set using below code: … Read more