PushGo Auto Commit 2026-03-29T12:17:45.673Z

This commit is contained in:
PushGo User
2026-03-29 20:17:45 +08:00
commit 8398984cc5
12 changed files with 1276 additions and 0 deletions

33
manifest.json Normal file
View File

@@ -0,0 +1,33 @@
{
"manifest_version": 3,
"name": "Transly",
"version": "0.1.0",
"description": "极简直译 Chrome 插件",
"permissions": ["storage", "contextMenus", "activeTab", "scripting"],
"host_permissions": ["<all_urls>"],
"background": {
"service_worker": "background.js"
},
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"action": {
"default_title": "Transly",
"default_icon": {
"16": "icons/icon16.png",
"32": "icons/icon32.png"
},
"default_popup": "popup.html"
},
"options_page": "options.html",
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"],
"run_at": "document_idle"
}
]
}