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); - }) -} - diff --git a/extension/manifest.json b/extension/manifest.json index a66a3d4..cc88052 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -11,14 +11,6 @@ "js": [ "content_scripts/main.js" ] - }, - { - "matches": [ - "*://*/*" - ], - "js": [ - "content_scripts/main.js" - ] } ], "permissions": [ @@ -36,4 +28,4 @@ "icons": { "512": "./assets/firecrx-512x512.png" } -} \ No newline at end of file +}