From c9f06e2167b75f6be317ad7115a30de0545f0df0 Mon Sep 17 00:00:00 2001 From: example Date: Thu, 14 Mar 2019 18:43:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E5=85=B3=E9=97=AD=E5=A4=96?= =?UTF-8?q?=E9=83=A8JS=E8=AE=BF=E9=97=AE=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- translate/translate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translate/translate.js b/translate/translate.js index bb9877b..83c493f 100644 --- a/translate/translate.js +++ b/translate/translate.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Translate // @namespace http://tampermonkey.net/ -// @version 4.6 +// @version 4.7 // @description 划词翻译调用“金山词霸、有道词典(有道翻译)、Google Translate(谷歌翻译)、沪江小D、搜狗翻译、必应词典(必应翻译)、Microsoft Translator(必应在线翻译)、海词词典、百度翻译、Oxford Learner's Dictionaries、Oxford Dictionaries、Merriam-Webster、汉典、PDF 划词翻译、Google Search、Bing Search(必应搜索)、百度搜索、Wikipedia Search(维基百科搜索)”网页翻译 // @author https://github.com/barrer // @match http://*/* @@ -381,7 +381,7 @@ var root = document.createElement('div'); document.documentElement.appendChild(root); var shadow = root.attachShadow({ - mode: 'open' + mode: 'closed' }); // iframe 工具库加入 Shadow shadow.appendChild(iframe);