Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/nakasyou/FireCws
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou committed Nov 4, 2023
2 parents da9afc1 + 1af3ec0 commit 48d0c6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
11 changes: 0 additions & 11 deletions extension/content_scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
})
}

10 changes: 1 addition & 9 deletions extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@
"js": [
"content_scripts/main.js"
]
},
{
"matches": [
"*://*/*"
],
"js": [
"content_scripts/main.js"
]
}
],
"permissions": [
Expand All @@ -36,4 +28,4 @@
"icons": {
"512": "./assets/firecrx-512x512.png"
}
}
}

0 comments on commit 48d0c6d

Please sign in to comment.