|
1 | 1 | {
|
2 |
| - "version": "3.1.10", |
| 2 | + "version": "3.2.0", |
3 | 3 | "name": "Redux DevTools",
|
4 | 4 | "description": "Redux DevTools for debugging application's state changes.",
|
5 | 5 | "homepage_url": "https://github.com/reduxjs/redux-devtools",
|
6 |
| - "manifest_version": 2, |
7 |
| - "page_action": { |
| 6 | + "manifest_version": 3, |
| 7 | + "action": { |
8 | 8 | "default_icon": "img/logo/gray.png",
|
9 | 9 | "default_title": "Redux DevTools",
|
10 |
| - "default_popup": "window.html#popup" |
| 10 | + "default_popup": "devpanel.html#popup" |
11 | 11 | },
|
12 | 12 | "commands": {
|
13 |
| - "devtools-left": { |
14 |
| - "description": "DevTools window to left" |
15 |
| - }, |
16 |
| - "devtools-right": { |
17 |
| - "description": "DevTools window to right" |
18 |
| - }, |
19 |
| - "devtools-bottom": { |
20 |
| - "description": "DevTools window to bottom" |
| 13 | + "devtools-window": { |
| 14 | + "description": "DevTools window" |
21 | 15 | },
|
22 | 16 | "devtools-remote": {
|
23 | 17 | "description": "Remote DevTools"
|
24 | 18 | },
|
25 |
| - "_execute_page_action": { |
| 19 | + "_execute_action": { |
26 | 20 | "suggested_key": {
|
27 | 21 | "default": "Ctrl+Shift+E"
|
28 | 22 | }
|
|
38 | 32 | "chrome_style": true
|
39 | 33 | },
|
40 | 34 | "background": {
|
41 |
| - "scripts": ["background.bundle.js"], |
42 |
| - "persistent": false |
| 35 | + "service_worker": "background.bundle.js" |
43 | 36 | },
|
44 | 37 | "content_scripts": [
|
45 | 38 | {
|
46 | 39 | "matches": ["<all_urls>"],
|
47 | 40 | "exclude_globs": ["https://www.google*"],
|
48 |
| - "js": ["content.bundle.js", "pagewrap.bundle.js"], |
| 41 | + "js": ["content.bundle.js"], |
49 | 42 | "run_at": "document_start",
|
50 | 43 | "all_frames": true
|
| 44 | + }, |
| 45 | + { |
| 46 | + "matches": ["<all_urls>"], |
| 47 | + "exclude_globs": ["https://www.google*"], |
| 48 | + "js": ["page.bundle.js"], |
| 49 | + "run_at": "document_start", |
| 50 | + "all_frames": true, |
| 51 | + "world": "MAIN" |
51 | 52 | }
|
52 | 53 | ],
|
53 | 54 | "devtools_page": "devtools.html",
|
54 |
| - "web_accessible_resources": ["page.bundle.js"], |
55 | 55 | "externally_connectable": {
|
56 | 56 | "ids": ["*"]
|
57 | 57 | },
|
58 |
| - "permissions": [ |
59 |
| - "notifications", |
60 |
| - "contextMenus", |
61 |
| - "storage", |
62 |
| - "file:///*", |
63 |
| - "http://*/*", |
64 |
| - "https://*/*" |
65 |
| - ], |
66 |
| - "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'; style-src * 'unsafe-inline'; img-src 'self' data:;" |
| 58 | + "permissions": ["notifications", "contextMenus", "storage"], |
| 59 | + "host_permissions": ["file:///*", "http://*/*", "https://*/*"], |
| 60 | + "content_security_policy": { |
| 61 | + "extension_pages": "script-src 'self'; object-src 'self'; style-src * 'unsafe-inline'; img-src 'self' data:;" |
| 62 | + } |
67 | 63 | }
|
0 commit comments