Skip to content

Commit d1b3fe4

Browse files
prvashishtgithub-actions[bot]
authored andcommitted
Update manifest.json to use manifest version 2
content scripts do not start until the icon is clicked in mv3.
1 parent b19b683 commit d1b3fe4

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

manifest.json

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"manifest_version": 3,
2+
"manifest_version": 2,
33
"browser_specific_settings": {
44
"gecko": {
55
"id": "{70bd260b-d7d6-4cbb-ba2d-eb18968c33c0}",
@@ -16,7 +16,7 @@
1616
"48": "icons/light/icon48.png",
1717
"128": "icons/light/icon128.png"
1818
},
19-
"action": {
19+
"browser_action": {
2020
"default_icon" : {
2121
"16": "icons/light/icon16.png",
2222
"32": "icons/light/icon32.png",
@@ -27,9 +27,7 @@
2727
"default_popup" : "popup/index.html"
2828
},
2929
"permissions": [
30-
"storage"
31-
],
32-
"host_permissions": [
30+
"storage",
3331
"*://*.linkedin.com/"
3432
],
3533
"content_scripts": [
@@ -41,10 +39,5 @@
4139
"background": {
4240
"scripts": ["service_worker.js"]
4341
},
44-
"web_accessible_resources": [
45-
{
46-
"resources": ["icons/*/icon32.png"],
47-
"matches": ["*://*.linkedin.com/*"]
48-
}
49-
]
42+
"web_accessible_resources": ["icons/*/icon32.png"]
5043
}

0 commit comments

Comments
 (0)