remove unneeded code + add message on removal

This commit is contained in:
Dovi Cowan 2022-07-20 17:27:43 +01:00
parent 7caa357e35
commit 6d5d9ae128
Signed by: dcowan
GPG key ID: CC4A4CB950D7E579
2 changed files with 3 additions and 7 deletions

View file

@ -69,10 +69,6 @@ const getHiddenItemsList = async () => {
resolve(hiddenItemsList);
});
});
console.log(hiddenItemsList);
return hiddenItemsList;
}
async function removeItems() {
@ -144,9 +140,9 @@ async function addButton() {
return;
}
chrome.storage.sync.set( {'hiddenItemsList': JSON.stringify(hiddenItemsList)}, (parent) => {
chrome.storage.sync.set( {'hiddenItemsList': JSON.stringify(hiddenItemsList)}, function() {
// parent.innerHTML = "REMOVED BY EBAY ITEM REMOVER";
alert("Done\nYou need to click the extension icon for this to take effect")
} );
event.preventDefault();

View file

@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "eBay Item Remove - DEVELOPMENT BUILD",
"version": "0.0.3",
"version": "0.0.4",
"description": "Remove items you don't want to see from eBay",