remove unneeded code + add message on removal
This commit is contained in:
parent
7caa357e35
commit
6d5d9ae128
2 changed files with 3 additions and 7 deletions
|
@ -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();
|
||||
|
|
|
@ -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",
|
||||
|
||||
|
|
Loading…
Reference in a new issue