chrome.storage.local.remove(["Key1","key2"],function(){ var error = chrome.runtime.lastError; if (error) { console.error(error); } })