Skip to content

Commit d0909d7

Browse files
committed
feat: update to manifest v3 - change local storage usage
1 parent a21bc9d commit d0909d7

File tree

5 files changed

+429
-526
lines changed

5 files changed

+429
-526
lines changed

source/background.js

Lines changed: 0 additions & 275 deletions
This file was deleted.

source/manifest.json

Lines changed: 52 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,54 @@
11
{
2-
"name": "Xdebug helper",
3-
"description": "Easy debugging, profiling and tracing extension for Xdebug",
4-
"version": "1.6.1",
5-
"author": "Mathijs Kadijk",
6-
7-
"manifest_version": 2,
8-
"minimum_chrome_version": "20",
9-
"permissions": [ "tabs", "*://*/*" ],
10-
"icons": {
11-
"16": "images/icon--16.png",
12-
"48": "images/icon--48.png",
13-
"128": "images/icon--128.png",
14-
"256": "images/icon--256.png",
15-
"512": "images/icon--256.png"
16-
},
17-
18-
"options_page": "options.html",
19-
20-
"browser_action": {
21-
"default_icon": "images/bug-gray.png",
22-
"default_title": "Debugging, profiling & tracing disabled",
23-
"default_popup" : "popup.html"
24-
},
25-
"content_scripts": [ {
26-
"js": [ "content.js" ],
27-
"matches": [ "*://*/*" ]
28-
} ],
29-
"background": {
30-
"scripts": [ "background.js" ],
31-
"persistent": false
32-
},
33-
34-
"commands": {
35-
"_execute_browser_action": {
36-
"suggested_key": {
37-
"default": "Ctrl+Shift+X",
38-
"windows": "Ctrl+Shift+X",
39-
"mac": "Command+Shift+X"
40-
},
41-
"description": "Open popup to toggle state"
42-
},
43-
"toggle_debug_action": {
44-
"suggested_key": {
45-
"default": "Alt+Shift+X",
46-
"windows": "Alt+Shift+X",
47-
"mac": "Alt+Shift+X"
48-
},
49-
"description": "Toggle between the debug states"
50-
}
51-
}
2+
"name": "Xdebug helper",
3+
"description": "Easy debugging, profiling and tracing extension for Xdebug",
4+
"version": "1.6.1",
5+
"author": "Mathijs Kadijk (and Wikando)",
6+
"manifest_version": 3,
7+
"minimum_chrome_version": "20",
8+
"permissions": [
9+
"tabs",
10+
"storage"
11+
],
12+
"icons": {
13+
"16": "images/icon--16.png",
14+
"48": "images/icon--48.png",
15+
"128": "images/icon--128.png",
16+
"256": "images/icon--256.png",
17+
"512": "images/icon--256.png"
18+
},
19+
"options_page": "options.html",
20+
"content_scripts": [
21+
{
22+
"js": [
23+
"content.js"
24+
],
25+
"matches": [
26+
"*://*/*"
27+
]
28+
}
29+
],
30+
"background": {
31+
"service_worker": "service_worker.js"
32+
},
33+
"commands": {
34+
"toggle_debug_action": {
35+
"suggested_key": {
36+
"default": "Alt+Shift+X",
37+
"windows": "Alt+Shift+X",
38+
"mac": "Alt+Shift+X"
39+
},
40+
"description": "Toggle between the debug states"
41+
}
42+
},
43+
"action": {
44+
"default_icon": "images/bug-gray.png",
45+
"default_title": "Debugging, profiling & tracing disabled",
46+
"default_popup": "popup.html"
47+
},
48+
"content_security_policy": {
49+
"extension_pages": "script-src 'self'; object-src 'self'"
50+
},
51+
"host_permissions": [
52+
"*://*/*"
53+
]
5254
}

0 commit comments

Comments
 (0)