chrome.storage.local.remove Exemple
// 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);
});
Shadow