Google Translator Tooltip Expanded Fork

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Odyseus
今日安裝
1
安裝總數
3,584
評價
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.