|
3 | 3 | "name": "Scrum Helper Extension",
|
4 | 4 | "version": "1.0",
|
5 | 5 | "description": "This extension helps in writing Scrums in Google groups, particularly related to FOSSASIA. ",
|
6 |
| - "browser_action": { |
| 6 | + "action": { |
7 | 7 | "default_popup": "popup.html",
|
8 |
| - "default_title" : "SCRUM Helper" |
| 8 | + "default_title": "SCRUM Helper", |
| 9 | + "default_icon": { |
| 10 | + "96": "icons/icon.png", |
| 11 | + "48": "icons/icon.png" |
| 12 | + } |
9 | 13 | },
|
10 |
| - "icons": { |
11 |
| - "96": "icons/icon.png", |
12 |
| - "48": "icons/icon.png" |
13 |
| - }, |
14 | 14 | "background": {
|
15 |
| - "scripts": ["scripts/background.js"] |
| 15 | + "service_worker": "scripts/background.js" |
16 | 16 | },
|
17 | 17 | "content_scripts": [
|
18 |
| - { |
19 |
| - "matches": ["*://groups.google.com/forum/*", "*://groups.google.com/g/*"], |
20 |
| - "js": ["scripts/jquery-3.2.1.min.js","scripts/scrumHelper.js"] |
21 |
| - } |
22 |
| -], |
23 |
| - "content_security_policy": "script-src 'self' https://cdn.jsdelivr.net/ https://api.github.com/ https://use.fontawesome.com/; object-src 'self'", |
| 18 | + { |
| 19 | + "matches": ["*://groups.google.com/forum/*", "*://groups.google.com/g/*"], |
| 20 | + "js": ["scripts/jquery-3.2.1.min.js", "scripts/scrumHelper.js"] |
| 21 | + } |
| 22 | + ], |
24 | 23 |
|
25 |
| - "permissions":[ |
26 |
| - "http://*/*", |
27 |
| - "tabs", |
28 |
| - "https://*/*", |
29 |
| - "storage", |
30 |
| - "activeTab", |
31 |
| - "<all_urls>", |
32 |
| - "notifications" |
33 |
| - ] |
| 24 | + "content_security_policy": { |
| 25 | + "extension_pages": "script-src 'self'; object-src 'self';" |
| 26 | + }, |
| 27 | + "optional_host_permissions": ["https://*/*", "http://*/*", "<all_urls>"], |
34 | 28 |
|
| 29 | + "permissions": ["tabs", "storage", "activeTab", "notifications"] |
35 | 30 | }
|
0 commit comments