使用ChatGPT划词翻译 1. 选中文本右键菜单“GPT帮我翻译” > ”翻译为中文”/“翻译为英文”,翻译选中文本。 2. 图片上右键菜单“翻译图片为中文“,可将图片中文字翻译为中文。 2. 快捷键 Cmd/Ctrl + M 翻译为中文。 3. 快捷键…

Latest Version

Version
2.0.2
Update
April 4, 2023
Size
22.21KiB
Developer
Category
Users
2,000+
Rating
4.33333 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
ContextMenus
Storage
Cookies
See more

GPT帮我翻译 Extension

使用ChatGPT划词翻译



1. 选中文本右键菜单“GPT帮我翻译” > ”翻译为中文”/“翻译为英文”,翻译选中文本。
2. 图片上右键菜单“翻译图片为中文“,可将图片中文字翻译为中文。
2. 快捷键 Cmd/Ctrl + M 翻译为中文。
3. 快捷键 Cmd/Ctrl + B 翻译为英文。
4. 选项中可选择使用 ChatGPT Web 或者 OpenAI API 进行翻译。
5. 选项中可自定义翻译的 prompt,默认是 “Translate the following text to Chinese: {text}”以及“Translate the following text to English: {text}”
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "GPT\u5e2e\u6211\u7ffb\u8bd1", "version": "2.0.2", "action": { "default_icon": { "16": "images/icon16.png", "48": "images/icon48.png", "128": "images/icon128.png" } }, "permissions": [ "contextMenus", "storage", "cookies" ], "host_permissions": [ "https://chat.openai.com/*" ], "icons": { "16": "images/icon16.png", "48": "images/icon48.png", "128": "images/icon128.png" }, "background": { "service_worker": "background.js", "type": "module" }, "content_scripts": [ { "matches": [ "" ], "js": [ "content-script.js" ], "css": [ "content-style.css" ] } ], "commands": { "translate-zh": { "suggested_key": { "default": "Ctrl+M", "mac": "Command+M" }, "description": "\u7ffb\u8bd1\u4e3a\u4e2d\u6587" }, "translate-en": { "suggested_key": { "default": "Ctrl+B", "mac": "Command+B" }, "description": "\u7ffb\u8bd1\u4e3a\u82f1\u6587" } }, "options_page": "options.html"}
Read more