- popup.js 拆分为 i18n/crypto-file/strength/messaging/ui-utils 五个 ES 模块 - 所有源码迁移至 src/ 目录,tsconfig strict 模式零错误编译 - globals.d.ts 定义 EnvStore/CryptoStore 完整接口与全局类型 - manifest.json 与 popup.html 引用 dist/ 编译产物 - 删除无效的 sidePanel.setOptions panelWidth 调用
35 lines
810 B
JSON
35 lines
810 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "__MSG_appTitle__",
|
|
"version": "1.0.0",
|
|
"description": "__MSG_extDescription__",
|
|
"default_locale": "zh_CN",
|
|
"permissions": ["storage", "activeTab", "scripting", "tabs", "sidePanel", "bookmarks"],
|
|
"host_permissions": ["<all_urls>"],
|
|
"action": {
|
|
"default_icon": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
}
|
|
},
|
|
"side_panel": {
|
|
"default_path": "popup.html"
|
|
},
|
|
"icons": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
},
|
|
"background": {
|
|
"service_worker": "dist/background.js"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"js": ["dist/utils.js", "dist/content.js"],
|
|
"run_at": "document_idle"
|
|
}
|
|
]
|
|
}
|