Skip to content

Commit

Permalink
Super_preloaderPlus_one 再次修正 Google 搜索下一页排版不正确的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ywzhaiqi committed Jul 29, 2014
1 parent 38f4945 commit 229c9f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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.3.1
// @version 6.3.2
// @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
4 changes: 2 additions & 2 deletions Super_preloaderPlus/src/rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ var SITEINFO=[
}

// 修正可能出现的 小箭头更多按钮 排版不正确的情况(2014-7-29)
var oClassName = document.querySelector('.ab_button').className;
[].forEach.call(doc.querySelectorAll('.ab_button'), function(elem){
var oClassName = window.document.querySelector('#ires .ab_button').className;
[].forEach.call(doc.querySelectorAll('#ires .ab_button'), function(elem){
if (elem.className != oClassName)
elem.className = oClassName;
});
Expand Down
6 changes: 3 additions & 3 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.3.1
// @version 6.3.2
// @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 @@ -217,8 +217,8 @@ var SITEINFO=[
}

// 修正可能出现的 小箭头更多按钮 排版不正确的情况(2014-7-29)
var oClassName = document.querySelector('.ab_button').className;
[].forEach.call(doc.querySelectorAll('.ab_button'), function(elem){
var oClassName = window.document.querySelector('#ires .ab_button').className;
[].forEach.call(doc.querySelectorAll('#ires .ab_button'), function(elem){
if (elem.className != oClassName)
elem.className = oClassName;
});
Expand Down

0 comments on commit 229c9f3

Please sign in to comment.