chrome.storage.local delete
chrome.storage.local.remove(["Key1","key2"],function(){
var error = chrome.runtime.lastError;
if (error) {
console.error(error);
}
})
chrome.storage.local delete
chrome.storage.local.remove(["Key1","key2"],function(){
var error = chrome.runtime.lastError;
if (error) {
console.error(error);
}
})
chrome.storage.local.remove example
// Completely clear the storage. All items are removed.
chrome.storage.local.clear(() => {
console.log('Everything was removed');
});
// Remove items under a certain key
const key = 'myKey';
chrome.storage.local.remove([key], (result) => {
console.log('Removed items for the key: ' + key);
});
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us