From 82bc478b999ba0cacce1d2ca9a6edf30dbe2ba7f Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Sat, 23 Nov 2024 21:06:09 -0500
Subject: HIGH QUALITY ICONS

---
 extension/src/main.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'extension/src/main.tsx')

diff --git a/extension/src/main.tsx b/extension/src/main.tsx
index d1fa6c2..40cc4f4 100644
--- a/extension/src/main.tsx
+++ b/extension/src/main.tsx
@@ -9,6 +9,15 @@ export function getBrowser() {
         return browser;
     }
 }
+//
+// getBrowser().runtime.onMessage.addListener((message) => {
+//     console.log(message);
+//     if (message[0] === "icon") {
+//         getBrowser().bookmarks.search({url : message[1]}).then(r => {
+//             getBrowser().storage.local.set({["icon-"+r[0].id] : message[2]});
+//         })
+//     }
+// })
 
 createRoot(document.body).render(<Body/>)
 
-- 
cgit v1.2.3

