From df4f3c409f428fdefced9369f49dfc8669830b99 Mon Sep 17 00:00:00 2001 From: Dovi Cowan Date: Wed, 20 Jul 2022 17:28:10 +0100 Subject: [PATCH] more cleanup --- background-script.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/background-script.js b/background-script.js index 601b530..e87fb37 100644 --- a/background-script.js +++ b/background-script.js @@ -1,10 +1,3 @@ -/* chrome.browserAction.onClicked.addListener(function () { - console.log("Test"); - - // let title = browser.i18n.getMessage("notificationTitle"); - // let content = browser.i18n.getMessage("notificationContent", message.url); -}) */ - chrome.runtime.onInstalled.addListener(function(details) { if(details.reason == "install"){ @@ -39,12 +32,6 @@ chrome.action.onClicked.addListener(async tab => { // } }); -// document.getElementsByClassName('ebayitemremover-extension_removeitem').forEach(element => { -// element.addEventListener('click', (elm) => { -// console.log(elm.getAttribute('ebayitemremover-extension_itemid') + ' clicked'); -// }); -// }) - chrome.webNavigation.onCompleted.addListener(function() { chrome.notifications.create({ "type": "basic",