From d8787bfa6af0a10ac987196ab7d48e56a7e5c3d5 Mon Sep 17 00:00:00 2001 From: mic Date: Fri, 10 Jan 2025 22:44:51 +0100 Subject: [PATCH] test browseraction removed --- manifest.json | 5 ----- mztas-background.js | 24 ++++++++++++------------ 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/manifest.json b/manifest.json index d00fa78..f6e8b31 100644 --- a/manifest.json +++ b/manifest.json @@ -14,11 +14,6 @@ "permissions": [ "storage" ], - "browser_action": { - "default_title": "ThunderAI", - "default_icon": "images/thunderai-icon-32px.png", - "allowed_spaces": [] - }, "background": { "page": "mztas-background.html" }, diff --git a/mztas-background.js b/mztas-background.js index 64b7ce9..9404d53 100644 --- a/mztas-background.js +++ b/mztas-background.js @@ -17,18 +17,18 @@ */ // ============== FOR TESTING ============== -browser.browserAction.onClicked.addListener(() => { - testThunderAISparks(); - }); - -async function testThunderAISparks(){ - await browser.CalendarTools.openCalendarDialog({ - startDate: '20250104T183000Z', - endDate: '20250104T193000Z', - summary: "ThunderAI Sparks", - forceAllDay: false - }); -} +// browser.browserAction.onClicked.addListener(() => { +// testThunderAISparks(); +// }); + +// async function testThunderAISparks(){ +// await browser.CalendarTools.openCalendarDialog({ +// startDate: '20250104T183000Z', +// endDate: '20250104T193000Z', +// summary: "ThunderAI Sparks", +// forceAllDay: false +// }); +// } // ========================================= // Listen for messages