more cleanup

This commit is contained in:
Dovi Cowan 2022-07-20 17:28:10 +01:00
parent 6d5d9ae128
commit df4f3c409f
Signed by: dcowan
GPG key ID: CC4A4CB950D7E579

View file

@ -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) { chrome.runtime.onInstalled.addListener(function(details) {
if(details.reason == "install"){ 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.webNavigation.onCompleted.addListener(function() {
chrome.notifications.create({ chrome.notifications.create({
"type": "basic", "type": "basic",