File tree 3 files changed +3
-7
lines changed
3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ function show_def(word) {
371
371
$ ( "#extradef .content" ) . html ( "<p>loading...</p>" ) ;
372
372
373
373
$ . ajax ( {
374
- url : "http://halo.xhacker.im/youdao/query/" + word ,
374
+ url : youdao_url + word ,
375
375
dataType : "json" ,
376
376
success : function ( data ) {
377
377
var def = "" , i ;
Original file line number Diff line number Diff line change 1
- const YOUDAO_API_KEYFROM = "HaloWordDictionary" ;
2
- const YOUDAO_API_KEY = "1311342268" ;
3
- var youdao_url = "https://fanyi.youdao.com/fanyiapi.do?keyfrom=" + YOUDAO_API_KEYFROM + "&key=" + YOUDAO_API_KEY + "&type=data&doctype=json&version=1.1&q=" ;
4
-
5
- const WEBSTER_KEY = "6d9366e8-dc95-4b44-931a-ff90bc8f96bd"
1
+ var youdao_url = "http://halo.xhacker.im/youdao/query/" ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Halo Word Dictionary" ,
3
3
"short_name" : " Halo Word" ,
4
- "version" : " 0.6.6 " ,
4
+ "version" : " 0.6.7 " ,
5
5
"manifest_version" : 2 ,
6
6
7
7
"description" : " 精巧易用的英汉字典,界面简洁舒适。包含单词表、划词查询、右键查询等功能。Enjoy!" ,
You can’t perform that action at this time.
0 commit comments