/youdaodict

一个简单的基于有道在线翻译的GreaseMonkey屏幕取词脚本,在哪个网站都能用:)

Primary LanguageJavaScriptMIT LicenseMIT

Youdaodict

Translates the selected text into a tooltip automatically.

Inspired by Google Translation Tooltip. The data come from the honored Youdao.

Screenshot

Screenshot for youdaodict

Feature

  1. Functioning on every page you visit! No mixed content blocking and CSP restriction anymore.
  2. Translate words and sentences.
  3. Pronunciation support for word look-up.
  4. Simple and user-friendly design.
  5. Real-time multilingual online translation.

Notes

Script is enabled by default. you can change:

var toggle = true;

to:

var toggle = false;

to disabled this script initially.

Using ctrl+alt+q to enable/disable this script.

Why

The main reason is: Google translation tooltip can't work properly in China.

More info on this article(in Chinese)

ChangeLog

20151125

  • ctrl+alt+q to disable/enable this script.