Converted all major documentation files (README, PRIVACY_POLICY, SECURITY, pull request template) to Chinese. Updated extension source files (background.js, content.js, popup.html, popup.js) to use Chinese comments and user-facing messages for improved localization and user experience.
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"action": {
|
|
"default_icon": {
|
|
"128": "icons/icon128.png",
|
|
"16": "icons/icon16.png",
|
|
"32": "icons/icon32.png",
|
|
"48": "icons/icon48.png"
|
|
},
|
|
"default_popup": "popup.html",
|
|
"default_title": "Xget for Chrome"
|
|
},
|
|
"background": {
|
|
"service_worker": "background.js"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"js": ["content.js"],
|
|
"matches": [
|
|
"https://github.com/*",
|
|
"https://gitlab.com/*",
|
|
"https://huggingface.co/*"
|
|
],
|
|
"run_at": "document_end"
|
|
}
|
|
],
|
|
"description": "通过 Xget 重定向下载实现加速的下载器扩展",
|
|
"host_permissions": [
|
|
"https://github.com/*",
|
|
"https://gitlab.com/*",
|
|
"https://huggingface.co/*"
|
|
],
|
|
"icons": {
|
|
"128": "icons/icon128.png",
|
|
"16": "icons/icon16.png",
|
|
"32": "icons/icon32.png",
|
|
"48": "icons/icon48.png"
|
|
},
|
|
"manifest_version": 3,
|
|
"name": "Xget for Chrome",
|
|
"permissions": ["downloads", "storage", "activeTab"],
|
|
"version": "1.1.0",
|
|
"web_accessible_resources": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"resources": ["icons/*"]
|
|
}
|
|
]
|
|
}
|