Try to use MV3 for Firefox

This commit is contained in:
Nathan Bierema 2024-08-12 23:12:18 -04:00
parent 7e19e81c04
commit e8b7783b29

View File

@ -1,28 +1,22 @@
{ {
"version": "3.1.10", "version": "3.1.10",
"name": "Redux DevTools", "name": "Redux DevTools",
"manifest_version": 2, "manifest_version": 3,
"description": "Redux Developer Tools for debugging application state changes.", "description": "Redux Developer Tools for debugging application state changes.",
"homepage_url": "https://github.com/reduxjs/redux-devtools", "homepage_url": "https://github.com/reduxjs/redux-devtools",
"applications": { "browser_specific_settings": {
"gecko": { "gecko": {
"id": "extension@redux.devtools" "id": "extension@redux.devtools"
} }
}, },
"page_action": { "action": {
"default_icon": "img/logo/38x38.png", "default_icon": "img/logo/38x38.png",
"default_title": "Redux DevTools", "default_title": "Redux DevTools",
"default_popup": "window.html#popup" "default_popup": "devpanel.html#popup"
}, },
"commands": { "commands": {
"devtools-left": { "devtools-window": {
"description": "DevTools window to left" "description": "DevTools window"
},
"devtools-right": {
"description": "DevTools window to right"
},
"devtools-bottom": {
"description": "DevTools window to bottom"
}, },
"devtools-remote": { "devtools-remote": {
"description": "Remote DevTools" "description": "Remote DevTools"
@ -42,21 +36,22 @@
"content_scripts": [ "content_scripts": [
{ {
"matches": ["<all_urls>"], "matches": ["<all_urls>"],
"js": ["content.bundle.js", "pagewrap.bundle.js"], "js": ["content.bundle.js"],
"run_at": "document_start", "run_at": "document_start",
"all_frames": true "all_frames": true
},
{
"matches": ["<all_urls>"],
"js": ["page.bundle.js"],
"run_at": "document_start",
"all_frames": true,
"world": "MAIN"
} }
], ],
"devtools_page": "devtools.html", "devtools_page": "devtools.html",
"web_accessible_resources": ["page.bundle.js"], "permissions": ["notifications", "contextMenus", "tabs", "storage"],
"permissions": [ "host_permissions": ["file:///*", "http://*/*", "https://*/*"],
"notifications", "content_security_policy": {
"contextMenus", "extension_pages": "script-src 'self'; object-src 'self'; img-src 'self' data:;"
"tabs", }
"storage",
"file:///*",
"http://*/*",
"https://*/*"
],
"content_security_policy": "script-src 'self'; object-src 'self'; img-src 'self' data:;"
} }