data/manifest/manifest-chrome.json
{
"name": "Mouse Dictionary",
"manifest_version": 3,
"version": "",
"description": "__MSG_appDesc__",
"default_locale": "en",
"author": "wtetsu",
"options_ui": {
"page": "options/options.html",
"open_in_tab": true
},
"permissions": ["storage", "unlimitedStorage", "activeTab", "scripting"],
"background": {
"service_worker": "background.js"
},
"action": {
"default_icon": "icons/icon19.png",
"default_title": "Mouse Dictionary"
},
"commands": {
"_execute_action": {
"description": "Activate the extension"
},
"scroll_down": {
"description": "__MSG_scrollDown__"
},
"scroll_up": {
"description": "__MSG_scrollUp__"
}
},
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"web_accessible_resources": [
{
"resources": ["data/rule.json", "data/dict*.json"],
"matches": ["<all_urls>"]
}
]
}