You will need to install a user script manager extension to install this script.
Translates the selected text into a tooltip automatically.
Inspired by Google Translation Tooltip. The data come from the honored Youdao.
Script is enabled by default. you can change:
var toggle = true;
var toggle = false;
to disabled this script initially.
Using ctrl+alt+q to enable/disable this script.
The main reason is: Google translation tooltip can't work properly in China.