Google Translator Tooltip Expanded Fork

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Odyseus
日安装量
1
总安装量
3,582
评分
26 0 1
版本
1.12
创建于
2014-10-15
更新于
2014-10-15
大小
60.1 KB
许可证
暂无
适用于
所有网站

Google Translator Tooltip Expanded Fork

This script displays a tooltip with expanded translation provided by Google Translate. The original author is Mar Cnu and the original version of this script can be found here.
After Greasemonkey was updated to version 2.x, the script stopped working. So I fixed it.
The only thing I modified to the script is that I have specified all @grant values inside the metadata block of this script. I have also updated the ColorPicker library to a new version.

Usage

  • Select a text, move the mouse over the 'translate' icon, and a tooltip with the translation appears. See image below.

Note

  • Although I have some knowledge of JavaScript, I am NOT a developer of any kind. I managed to fix this script by applying some common sense and frankly it's a miracle that I was able to make it work. Knowing this, do not expect from me a prompt response when this script is broken do to the next Google Translate update.