From fcb7fa4b572261d1a870276d275163592797bea9 Mon Sep 17 00:00:00 2001 From: example Date: Mon, 18 Feb 2019 18:17:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BF=85=E5=BA=94=E7=BF=BB?= =?UTF-8?q?=E8=AF=91=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- translate/translate-dictionary.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/translate/translate-dictionary.js b/translate/translate-dictionary.js index 303cb91..8e73278 100644 --- a/translate/translate-dictionary.js +++ b/translate/translate-dictionary.js @@ -1,7 +1,7 @@ // ==UserScript== // @name 划词翻译:多词典查询 // @namespace http://tampermonkey.net/ -// @version 2.5 +// @version 2.6 // @description 划词翻译调用“有道词典(有道翻译)、金山词霸、Bing 词典(必应词典)、剑桥高阶、沪江小D、谷歌翻译” // @author https://github.com/barrer // @match http://*/* @@ -562,7 +562,7 @@ }); }; obj[ids.BING] = function (text, time) { - ajax('https://www4.bing.com/dict/search?q=' + encodeURIComponent(text), function (rst) { + ajax('https://cn.bing.com/dict/search?q=' + encodeURIComponent(text), function (rst) { putEngineResult(ids.BING, parseBing(rst), time); showContent(); }, function (rst) { @@ -571,7 +571,7 @@ }); }; obj[ids.BING_LOWER_CASE] = function (text, time) { - ajax('https://www4.bing.com/dict/search?q=' + encodeURIComponent(text.toLowerCase()), function (rst) { + ajax('https://cn.bing.com/dict/search?q=' + encodeURIComponent(text.toLowerCase()), function (rst) { putEngineResult(ids.BING_LOWER_CASE, parseBing(rst), time); showContent(); }, function (rst) {