Initial commit: 译泡 PopLingo v1.0.0
AI 划词翻译 Chrome 扩展(Manifest V3): - 支持 DeepSeek/OpenAI/Kimi/智谱/通义/Gemini/Claude/Ollama 等 10 种服务商 - 流式输出、左右分栏对照、原文一键展开收起 - 划词图标/自动翻译/Alt+T 快捷键/右键菜单四种触发方式
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "译泡 · PopLingo — AI 划词翻译",
|
||||
"version": "1.0.0",
|
||||
"description": "划词即译的大模型翻译气泡:DeepSeek / OpenAI / Kimi / 智谱 / 通义 / Gemini / Claude / Ollama,流式输出。",
|
||||
"minimum_chrome_version": "116",
|
||||
"permissions": [
|
||||
"storage",
|
||||
"contextMenus",
|
||||
"commands"
|
||||
],
|
||||
"host_permissions": [
|
||||
"<all_urls>"
|
||||
],
|
||||
"background": {
|
||||
"service_worker": "background.js"
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": [
|
||||
"http://*/*",
|
||||
"https://*/*",
|
||||
"file://*/*"
|
||||
],
|
||||
"js": [
|
||||
"content/content.js"
|
||||
],
|
||||
"css": [
|
||||
"content/content.css"
|
||||
],
|
||||
"run_at": "document_idle",
|
||||
"all_frames": true,
|
||||
"match_about_blank": true
|
||||
}
|
||||
],
|
||||
"action": {
|
||||
"default_popup": "popup/popup.html",
|
||||
"default_icon": {
|
||||
"16": "icons/icon16.png",
|
||||
"32": "icons/icon32.png",
|
||||
"48": "icons/icon48.png",
|
||||
"128": "icons/icon128.png"
|
||||
}
|
||||
},
|
||||
"options_ui": {
|
||||
"page": "options/options.html",
|
||||
"open_in_tab": true
|
||||
},
|
||||
"icons": {
|
||||
"16": "icons/icon16.png",
|
||||
"32": "icons/icon32.png",
|
||||
"48": "icons/icon48.png",
|
||||
"128": "icons/icon128.png"
|
||||
},
|
||||
"commands": {
|
||||
"translate-selection": {
|
||||
"suggested_key": {
|
||||
"default": "Alt+T"
|
||||
},
|
||||
"description": "翻译当前选中的文本"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user