Hover paragraph + modifier key to toggle translation. Select text + modifier key for tooltip translation.
一个轻量级网页翻译 Userscript。 无需第三方翻译服务,直接使用 Chrome 内置 AI Translator API 本地翻译。
目标:
将鼠标移动到英文段落:
Shift)支持:
pliblockquote选中文字后:
适合快速阅读英文网页。
默认 Modifier Key:
Shift
打开设置:
Ctrl + Shift + ,
macOS:
Command + Shift + ,
支持:
shift
control
command
shift+control
shift+command
control+command
shift+control+command
配置会自动保存到:
localStorage
需要:
参考:
chrome://flags/
确保相关 AI / Translator API 已启用。
鼠标移动到段落 → 按 Modifier Key
再次执行可关闭翻译。
选中文字 → 按 Modifier Key
即可显示翻译 Tooltip。
Ctrl + Shift + ,
或 macOS:
Command + Shift + ,
首次使用时:
如果翻译失败:
MIT