Skip to content

Commit

Permalink
feature: Manifest V3, remove unused package-lock.json & replace depre…
Browse files Browse the repository at this point in the history
…cated node-sass with sass

Change Manifest V2 to V3 to allow extension to still run with Chrome
Replace deprecated node-sass with sass
Remove unused package-lock.json
  • Loading branch information
Valdo Ryu committed Oct 26, 2024
1 parent c71abcc commit 4c64c15
Show file tree
Hide file tree
Showing 6 changed files with 10,038 additions and 10,807 deletions.
33 changes: 14 additions & 19 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "LinkOff - Filter and Customizer for LinkedIn™",
"short_name": "LinkOff",
"author": "Noah Jelich",
Expand All @@ -11,32 +11,27 @@
"128": "icons/icon128.png"
},
"background": {
"scripts": [
"background.js"
]
"service_worker": "service_worker.js",
"scripts": ["service_worker.ts"],
"type": "module"
},
"content_scripts": [
{
"matches": [
"https://www.linkedin.com/*"
],
"js": [
"content/content.js"
],
"css": [
"content/content.css"
],
"matches": ["https://www.linkedin.com/*"],
"js": ["content/content.js"],
"css": ["content/content.css"],
"run_at": "document_end"
}
],
"web_accessible_resources": [
"icons/forbidden.svg"
{
"resources": ["icons/forbidden.svg"],
"matches": ["https://www.linkedin.com/*"]
}
],
"browser_action": {
"action": {
"default_popup": "popup/popup.html"
},
"permissions": [
"https://www.linkedin.com/*",
"storage"
]
"host_permissions": ["https://www.linkedin.com/*"],
"permissions": ["storage"]
}
Loading

0 comments on commit 4c64c15

Please sign in to comment.