Greasy Fork is available in English.

谷歌翻译提示框扩展

基于http://userscripts-mirror.org/scripts/show/150664

< Feedback on 谷歌翻译提示框扩展

Question/comment

§
Posted:
google translate api 更新

google translate api 在十二月更新之后脚本无法使用。修正版本见附件。另外TTS图标现在点击后即可播放,不会打开新标签页。
文科Mod
§
Posted:

§
Posted:

在部分页面TTS点击后无效,但是Audio的Url单独复制出来在浏览器里打开没有问题,暂时不知道什么状况...
§
Posted:
辛苦,谢谢
§
Posted:
origin and branch version both have some issue, can you fix?
1. can not show translate icon in some site which use CSCP to block IMG[src^="data:image/png;base64,"]
2. getSelection() return wrong string if you select in INPUT or TEXTAREA
§
Posted:
google translate api 在十二月更新之后脚本无法使用。修正版本见附件。另外TTS图标现在点击后即可播放,不会打开新标签页。
现在只能一句话一句话的翻译,比如选中一整个段落,里面包含好几个句子,现在都只能翻译第一句,过去脚本是可以整段翻译的。
§
Posted:
origin and branch version both have some issue, can you fix?
1. can not show translate icon in some site which use CSCP to block IMG[src^="data:image/png;base64,"]
2. getSelection() return wrong string if you select in INPUT or TEXTAREA
For issue 1, if the site is blocking IMG...base64, then I guess a bunch of scripts will have display issue. So you'd better find some way to disable the blocking. BTW, what's CSCP? Issue 2 has been fixed.
现在只能一句话一句话的翻译,比如选中一整个段落,里面包含好几个句子,现在都只能翻译第一句,过去脚本是可以整段翻译的。
已经修复了。另外已经支持文本框选择。

See https://github.com/ningfei/Google-Translator-Tooltip-Expanded
§
Posted:
Fixed "TTS playing not working" issue on some websites with strict CSP.
文科Mod
§
Posted:

不上传到greasyfork吗?反正可以从github自动同步

§
Posted:

不上传到greasyfork吗?反正可以从github自动同步

你说在greasyfork上新建一个脚本?传到这里了:https://greasyfork.org/scripts/16203/ 没用过这个发布,就简单这样吧先,没有写帮助截图说明什么的。

Post reply

Sign in to post a reply.