dawnDict test: double click or select to get the word meaning.

Heavy rains are expected to fall in a few weeks. Aid agencies are racing to shore up flimsy shelters and stabilize shaky terrain before the monsoon season begins. The U.N. refugee agency(UNHCR) says the work ahead is monumental but preparations are off to a better start this year than last.

That Hokusai employed the hue as the principal actor in his oceanic drama suggests that he was depicting Japan on the cusp of change. As much as the wave portends instability and danger, it also suggests possibility and adventure.

网页划词翻译 使用方法:
1.(难点)架构https php服务器;(如果要添加翻译的网页是http,则只需要http的php服务器即可);
2.到github下载dawnDict.php和dawnDict.js到构建的服务器;
3.修改js文件中的链接,确保ajax能访问到php文件;
4.把js文件的网络连接替换如下语句中的src部分;
5.chrome浏览器,F12键,点开console,输入如下一行js,并回车,当前网页就可以划词/双击翻译了。
(注意:如下url仅支持我自己电脑访问,一定要按照1-4步骤给出自己的url)。

var s=document.createElement("script");s.src="https://ielts.dawneve.cc/wordKing/dawnDict.js";document.body.append(s);

支持控制台查单词:
dawnDict.trans('good');