From 5739a574cd40103d7b92789c9aedf5fb2afa95a3 Mon Sep 17 00:00:00 2001 From: ywzhaiqi Date: Thu, 3 Jul 2014 11:43:35 +0800 Subject: [PATCH] =?UTF-8?q?Super=5FpreloaderPlus=5Fone=206.2.5=20=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20Google=20=E6=90=9C=E7=B4=A2=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=97=B6=E5=80=99=E5=9B=BE=E7=89=87=E6=97=A0=E6=B3=95=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=E6=98=BE=E7=A4=BA=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Super_preloaderPlus/src/meta.js | 2 +- Super_preloaderPlus/src/rule.js | 2 +- Super_preloaderPlus/super_preloaderplus_one.user.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Super_preloaderPlus/src/meta.js b/Super_preloaderPlus/src/meta.js index b47f65a8..31ba6039 100644 --- a/Super_preloaderPlus/src/meta.js +++ b/Super_preloaderPlus/src/meta.js @@ -4,7 +4,7 @@ // @namespace https://github.com/ywzhaiqi // @description 预读+翻页..全加速你的浏览体验... // @author ywzhaiqi && NLF(原作者) -// @version 6.2.4 +// @version 6.2.5 // @homepageURL https://greasyfork.org/scripts/293-super-preloaderplus-one // @updateURL https://greasyfork.org/scripts/293-super-preloaderplus-one/code/Super_preloaderPlus_one.meta.js // @downloadURL https://greasyfork.org/scripts/293-super-preloaderplus-one/code/Super_preloaderPlus_one.user.js diff --git a/Super_preloaderPlus/src/rule.js b/Super_preloaderPlus/src/rule.js index f9760fa6..100ef837 100644 --- a/Super_preloaderPlus/src/rule.js +++ b/Super_preloaderPlus/src/rule.js @@ -164,7 +164,7 @@ var SITEINFO=[ documentFilter: function(doc){ var x = doc.evaluate('//script/text()[contains(self::text(), "data:image/")]', doc, null, 9, null).singleNodeValue; if (x) { - new Function('document', x.nodeValue)(doc); + new Function('document, window, google', x.nodeValue)(doc, unsafeWindow, unsafeWindow.google); } }, startFilter: function(win, doc) { // 只作用一次 diff --git a/Super_preloaderPlus/super_preloaderplus_one.user.js b/Super_preloaderPlus/super_preloaderplus_one.user.js index 3c5a7e48..4e842d51 100644 --- a/Super_preloaderPlus/super_preloaderplus_one.user.js +++ b/Super_preloaderPlus/super_preloaderplus_one.user.js @@ -4,7 +4,7 @@ // @namespace https://github.com/ywzhaiqi // @description 预读+翻页..全加速你的浏览体验... // @author ywzhaiqi && NLF(原作者) -// @version 6.2.4 +// @version 6.2.5 // @homepageURL https://greasyfork.org/scripts/293-super-preloaderplus-one // @updateURL https://greasyfork.org/scripts/293-super-preloaderplus-one/code/Super_preloaderPlus_one.meta.js // @downloadURL https://greasyfork.org/scripts/293-super-preloaderplus-one/code/Super_preloaderPlus_one.user.js @@ -209,7 +209,7 @@ var SITEINFO=[ documentFilter: function(doc){ var x = doc.evaluate('//script/text()[contains(self::text(), "data:image/")]', doc, null, 9, null).singleNodeValue; if (x) { - new Function('document', x.nodeValue)(doc); + new Function('document, window, google', x.nodeValue)(doc, unsafeWindow, unsafeWindow.google); } }, startFilter: function(win, doc) { // 只作用一次