From 7c5562cb452ab2221a46d686a8d5a6078ff38903 Mon Sep 17 00:00:00 2001 From: example Date: Thu, 21 Feb 2019 21:53:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- translate/translate-dictionary.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translate/translate-dictionary.js b/translate/translate-dictionary.js index 11e0c43..8bc0c8b 100644 --- a/translate/translate-dictionary.js +++ b/translate/translate-dictionary.js @@ -1,7 +1,7 @@ // ==UserScript== // @name 划词翻译:多词典查询 // @namespace http://tampermonkey.net/ -// @version 2.9 +// @version 3.0 // @description 划词翻译调用“有道词典(有道翻译)、金山词霸、Bing 词典(必应词典)、剑桥高阶、沪江小D、谷歌翻译” // @author https://github.com/barrer // @match http://*/* @@ -812,7 +812,7 @@ .replace(/(?:a>)/ig, 'span>') .replace(/(?:释义<\/span>/ig, '[释义]<\/span>') + .replace(/释义<\/span>/ig, '释义:<\/span>') .replace(/

变形<\/h1>/ig, ''); var doc = htmlToDom(rst); // 发音