Skip to content

Commit

Permalink
Super_preloaderPlus_one 6.2.5 修正 Google 搜索部分时候图片无法正常显示的情况
Browse files Browse the repository at this point in the history
  • Loading branch information
ywzhaiqi committed Jul 3, 2014
1 parent 382b1d3 commit 5739a57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Super_preloaderPlus/src/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Super_preloaderPlus/src/rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) { // 只作用一次
Expand Down
4 changes: 2 additions & 2 deletions Super_preloaderPlus/super_preloaderplus_one.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) { // 只作用一次
Expand Down

0 comments on commit 5739a57

Please sign in to comment.