From 73c385d609ba3a0501840d011bbe5c798e5d327e Mon Sep 17 00:00:00 2001 From: Shotaro Nakamura <79000684+nakasyou@users.noreply.github.com> Date: Sun, 15 Oct 2023 20:35:54 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E7=84=A1=E9=A7=84=E3=81=AA=E5=87=A6?= =?UTF-8?q?=E7=90=86=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extension/content_scripts/main.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/extension/content_scripts/main.js b/extension/content_scripts/main.js index 02dd5aa..33084b5 100644 --- a/extension/content_scripts/main.js +++ b/extension/content_scripts/main.js @@ -13,14 +13,3 @@ window.addEventListener("message", async (evt) => { } }) -console.log("mount") -if ("serviceWorker" in navigator) { - navigator.serviceWorker.register(chrome.extension.getURL("background/sw.js")) - .then(function(registration) { - console.log("Service Worker registered successfully."); - }) - .catch(function(error) { - console.error("Service Worker registration failed:", error); - }) -} - From 1af3ec0fd8d8a9a285de0b5579b046a361d59bfa Mon Sep 17 00:00:00 2001 From: Shotaro Nakamura <79000684+nakasyou@users.noreply.github.com> Date: Sun, 15 Oct 2023 20:37:16 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E6=A8=A9=E9=99=90=E3=82=92=E7=B8=AE?= =?UTF-8?q?=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extension/manifest.json | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/extension/manifest.json b/extension/manifest.json index 169aff5..10dc95e 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -11,14 +11,6 @@ "js": [ "content_scripts/main.js" ] - }, - { - "matches": [ - "*://*/*" - ], - "js": [ - "content_scripts/main.js" - ] } ], "background": { @@ -42,4 +34,4 @@ "icons": { "256": "./assets/firecrx-256x256.png" } -} \ No newline at end of file +}