From c56d6a3eae321bc1bc65d730fa6242cf6728ef9c Mon Sep 17 00:00:00 2001 From: ywzhaiqi Date: Wed, 10 Sep 2014 18:53:22 +0800 Subject: [PATCH] =?UTF-8?q?6.4.1=20=E6=94=BE=E5=BC=83=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E5=AE=9E=E9=99=85=E9=A1=B5=E6=95=B0=E7=9A=84?= =?UTF-8?q?=E6=96=B9=E6=B3=95=EF=BC=8C=E6=9C=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Super_preloaderPlus/src/main.js | 32 +++++++++---------- Super_preloaderPlus/src/meta.js | 2 +- .../super_preloaderplus_one.user.js | 28 ++++++++-------- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/Super_preloaderPlus/src/main.js b/Super_preloaderPlus/src/main.js index 497d77ea..714d3c72 100644 --- a/Super_preloaderPlus/src/main.js +++ b/Super_preloaderPlus/src/main.js @@ -2615,22 +2615,22 @@ function getRalativePageStr(lastUrl, currentUrl, nextUrl) { return [0, 0]; } - // 新的方法 - var lastQueryKeys = parseUri(lasturl).queryKey, - curQueryKeys = parseUri(url).queryKey, - name, lastNum, curNum; - for (name in curQueryKeys) { - if (!(name in lastQueryKeys)) continue; - - lastNum = getDigital(lastQueryKeys[name]); - curNum = getDigital(curQueryKeys[name]); - - if (isNaN(lastNum) || isNaN(curNum)) { - continue; - } - - return [lastNum, curNum]; - } + // // 新的方法 + // var lastQueryKeys = parseUri(lasturl).queryKey, + // curQueryKeys = parseUri(url).queryKey, + // name, lastNum, curNum; + // for (name in curQueryKeys) { + // if (!(name in lastQueryKeys)) continue; + + // lastNum = getDigital(lastQueryKeys[name]); + // curNum = getDigital(curQueryKeys[name]); + + // if (isNaN(lastNum) || isNaN(curNum) || lastNum == curNum) { + // continue; + // } + + // return [lastNum, curNum]; + // } // 以前的 lastDream2013 的方式 diff --git a/Super_preloaderPlus/src/meta.js b/Super_preloaderPlus/src/meta.js index 33076719..d4f6e250 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.4.0 +// @version 6.4.1 // @homepageURL https://greasyfork.org/scripts/293-super-preloaderplus-one // @grant GM_addStyle diff --git a/Super_preloaderPlus/super_preloaderplus_one.user.js b/Super_preloaderPlus/super_preloaderplus_one.user.js index 3fa87777..df1d5dcb 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.4.0 +// @version 6.4.1 // @homepageURL https://greasyfork.org/scripts/293-super-preloaderplus-one // @grant GM_addStyle @@ -6409,22 +6409,22 @@ function getRalativePageStr(lastUrl, currentUrl, nextUrl) { return [0, 0]; } - // 新的方法 - var lastQueryKeys = parseUri(lasturl).queryKey, - curQueryKeys = parseUri(url).queryKey, - name, lastNum, curNum; - for (name in curQueryKeys) { - if (!(name in lastQueryKeys)) continue; + // // 新的方法 + // var lastQueryKeys = parseUri(lasturl).queryKey, + // curQueryKeys = parseUri(url).queryKey, + // name, lastNum, curNum; + // for (name in curQueryKeys) { + // if (!(name in lastQueryKeys)) continue; - lastNum = getDigital(lastQueryKeys[name]); - curNum = getDigital(curQueryKeys[name]); + // lastNum = getDigital(lastQueryKeys[name]); + // curNum = getDigital(curQueryKeys[name]); - if (isNaN(lastNum) || isNaN(curNum)) { - continue; - } + // if (isNaN(lastNum) || isNaN(curNum) || lastNum == curNum) { + // continue; + // } - return [lastNum, curNum]; - } + // return [lastNum, curNum]; + // } // 以前的 lastDream2013 的方式