返回首頁 

Greasy Fork is available in English.

Google Translator Tooltip Expanded Fork

Translates the selected text into a tooltip automatically. Based on Google Translation Tooltip MLiteKeysOn.

< 脚本Google Translator Tooltip Expanded Fork的反馈

提问/评论

发表于:2015-12-17

Has stopped working (

Check on Opera 35 & FF 43image

发表于:2015-12-18
编辑于:2015-12-18

I have tested on both Chrome and Firefox and the Script has a errors just like your post. I've tried to turn back to old version of Greasymonkey, Tampermonkey and Firefox but it's still remain the error. Maybe google has change the code of google translate so the script are broken. :(

发表于:2015-12-18
Maybe google has change the code of google translate so the script are broken. :(

Yes, changed Google translate API (Now, only translate.google tooltip "works".

发表于:2015-12-18
编辑于:2015-12-18

It's so sad to know that the original author Mar Cnu has stopped develop this script after userscript die. I know that one day Google will change Google Translate API the script will be broke, but I dont want that day come. I have used this script for more than 3 years. Now I hope there are another developer fix the problems so I can use it again. Google Translator Tooltip Expanded is one of my first and most favourite script. :(

发表于:2016-01-04

For those who still want to use this script, I patched a new version here. Now it's working well with the new Google translate API. Besides, the texttospeech icon is click-to-play now rather than opening a new tab. See in the attachment and enjoy! There might be small bugs. You would easily fix it yourself if you find one.

发表于:2016-01-04
编辑于:2016-01-04
For those who still want to use this script, I patched a new version here.

Thanks, but your script working only in FF ( Checking in Chrome 47 & Opera 35.

发表于:2016-01-04
For those who still want to use this script, I patched a new version here.

Thanks, but your script working only in FF ( Checking in Chrome 47 & Opera 35.

Yes, I use FF. But as far as I tested in Chrome (also v47), it works well with Tampermonkey.

发表于:2016-01-04

Thanks, but your script working only in FF ( Checking in Chrome 47 & Opera 35.

You may check the getSelection() function to make it work for Opera.

发表于:2016-01-05
编辑于:2016-01-05
But as far as I tested in Chrome (also v47), it works well with Tampermonkey.

Sorry., working in chrome, but only after restart browser (restart tampermonkey not help).

You may check the getSelection() function to make it work for Opera.

Ok, thanks.

ps. In opera also working, there was a conflict with some extension.

发表于:2016-01-05

ps. In opera also working, there was a conflict with some extension.

Good to know that it also works for Opera. Enjoy and have a nice day :)

发表于:2016-01-11

Thanks @ningfei for the fix.

发表于:2016-01-12
编辑于:2016-01-12
For those who still want to use this script, I patched a new version here. Now it's working well with the new Google translate API. Besides, the texttospeech icon is click-to-play now rather than opening a new tab. See in the attachment and enjoy! There might be small bugs. You would easily fix it yourself if you find one.

Thank you, ningfei ,for fixing this script . But I found out some errors: the script is only translate one sentence and the display text to speech doesn't work on many sites. It would be great if the errors can be fixed.

发表于:2016-01-13
Thank you, ningfei ,for fixing this script . But I found out some errors: the script is only translate one sentence and the display text to speech doesn't work on many sites. It would be great if the errors can be fixed.

Fixed multiple line issue. The TTS problem will take some time...
See https://github.com/ningfei/Google-Translator-Tooltip-Expanded

发表于:2016-01-13
Thank you, ningfei ,for fixing this script . But I found out some errors: the script is only translate one sentence and the display text to speech doesn't work on many sites. It would be great if the errors can be fixed.

TTS has been fixed, should work on all sites now. Just go to github and have a test (github has somehow strict CSP that blocked the script playing audio).

发表回复

登录以发表回复。