From 10d1a2b7f4c4f02eeb0209b3009b6364b8d78925 Mon Sep 17 00:00:00 2001 From: ywzhaiqi Date: Sat, 2 Aug 2014 19:25:23 +0800 Subject: [PATCH] =?UTF-8?q?Super=5FpreloaderPlus=5Fone=206.3.3=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=87=A0=E4=B8=AA=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Super_preloaderPlus/README.md | 11 +++++-- Super_preloaderPlus/src/meta.js | 2 +- Super_preloaderPlus/src/rule.js | 29 ++++++++++++++++- .../super_preloaderplus_one.user.js | 31 +++++++++++++++++-- 4 files changed, 66 insertions(+), 7 deletions(-) diff --git a/Super_preloaderPlus/README.md b/Super_preloaderPlus/README.md index 953c736a..e48c0a59 100644 --- a/Super_preloaderPlus/README.md +++ b/Super_preloaderPlus/README.md @@ -115,11 +115,16 @@ Firefox(Greasemonkey/Scriptish),Chrome(原生/Tampermonkey),Maxthon } }, -### 风险脚本的误报 +### Google 搜索的说明 -[风险脚本过滤器](http://userscripts.org/scripts/issues/164600) 检测到:自动 follow。 +Super\_preloaderPlus\_one 脚本不支持从 Google 主页搜索的翻页,只能用这样的搜索 -它的检测正则是 `follow(_|\/|([^.\s]+)(\.|\?))`, 匹配脚本内 `following-sibling::*[.` 或 `following::a[contains(., \"Next\")]` 等。 + [https://www.google.com/search?q=firefox](https://www.google.com/search?q=firefox) + +这两类半支持 + + [https://www.google.com/#newwindow=1&q=firefox](https://www.google.com/#newwindow=1&q=firefox) + [https://www.google.com/webhp?q=firefox#newwindow=1&q=firefox&safe=strict](https://www.google.com/webhp?q=firefox#newwindow=1&q=firefox&safe=strict)。 ### 更新 diff --git a/Super_preloaderPlus/src/meta.js b/Super_preloaderPlus/src/meta.js index 868e7dc9..d95775fc 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.3.2 +// @version 6.3.3 // @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 ba2f8596..9bbe62b4 100644 --- a/Super_preloaderPlus/src/rule.js +++ b/Super_preloaderPlus/src/rule.js @@ -222,6 +222,12 @@ var SITEINFO=[ } } }, + {name: '百度搜索 - baidulocal', + url: '^https?://www\\.baidu\\.com/s.*&tn=baidulocal', + nextLink: '//a[font[text()="下一页"]]', + pageElement: '//table[@width="100%" and @border="0"]/tbody/tr/td/ol', + exampleUrl: 'http://www.baidu.com/s?wd=firefox&rsv_spt=1&issp=1&rsv_bp=0&ie=utf-8&tn=baidulocal&inputT=1364', + }, {name: '360搜索', url: "http://www\\.so\\.com/s", nextLink:'//div[@id="page"]/a[text()="下一页>"] | id("snext")', @@ -1544,6 +1550,11 @@ var SITEINFO=[ pageElement: 'id("section")/div[@class="main"]/div[@class="forum-content"]', } }, + {name: '昆侖 - 资源/连载', + url: '^http://bbs\\.ikunlun\\.net/forum\\.php.*$', + nextLink: '//a[@class="now"]/following-sibling::a[1][not(@class="last") ]', + pageElement: '//tr[@class="topic_list_row"]', + }, // ========================= picture ================================================ {name: 'Flickr搜索', @@ -2601,7 +2612,7 @@ var SITEINFO=[ pageElement: '//div[@class="main cf"]/div[@class="content-block cf"]/div[1]', } }, - {name: '178漫画', + {name: '动漫之家漫画网', url: "^http://(www|manhua)\\.dmzj\\.com/.+/.+shtml|^http://manhua\\.178\\.com/.+/.+shtml", siteExample:'http://manhua.178.com/lansechumoshi/15794.shtml', nextLink:'//div[@class="pages2"]/descendant::a[text()="下一页"]', @@ -3054,6 +3065,22 @@ var SITEINFO=[ pageElement: 'id("rightcolumn")/div[@class="videothumblist"] | id("rightcolumn")/div[@class="starbox"]', } }, + {name: 'NyaaTorrents', + url: '^http://(?:(?:www|sukebei?)\\.)?nyaa\\.se/', + nextLink: '//div[@class="pages"]/b/following-sibling::a[1]', + pageElement: '//table[@class="tlist"]', + exampleUrl: 'http://www.nyaa.se/', + }, + {name: '极影动漫', + url: 'http://bt.ktxp.com/.+[0-9]+-*', + nextLink: '//span[@class="current"]/following-sibling::a[1]', + pageElement: '//div[@class="item-box round-corner" and div/@class="title"]', + }, + {name: 'BTDigg Search', + url: '^https?://btdigg.org/search*', + nextLink: '//a[contains(text(),"→")]', + pageElement: '//body/div/div/center', + }, // ==================== 国外站点 =================== {name: 'AnandTech', diff --git a/Super_preloaderPlus/super_preloaderplus_one.user.js b/Super_preloaderPlus/super_preloaderplus_one.user.js index 0297134e..4083538c 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.3.2 +// @version 6.3.3 // @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 @@ -267,6 +267,12 @@ var SITEINFO=[ } } }, + {name: '百度搜索 - baidulocal', + url: '^https?://www\\.baidu\\.com/s.*&tn=baidulocal', + nextLink: '//a[font[text()="下一页"]]', + pageElement: '//table[@width="100%" and @border="0"]/tbody/tr/td/ol', + exampleUrl: 'http://www.baidu.com/s?wd=firefox&rsv_spt=1&issp=1&rsv_bp=0&ie=utf-8&tn=baidulocal&inputT=1364', + }, {name: '360搜索', url: "http://www\\.so\\.com/s", nextLink:'//div[@id="page"]/a[text()="下一页>"] | id("snext")', @@ -1589,6 +1595,11 @@ var SITEINFO=[ pageElement: 'id("section")/div[@class="main"]/div[@class="forum-content"]', } }, + {name: '昆侖 - 资源/连载', + url: '^http://bbs\\.ikunlun\\.net/forum\\.php.*$', + nextLink: '//a[@class="now"]/following-sibling::a[1][not(@class="last") ]', + pageElement: '//tr[@class="topic_list_row"]', + }, // ========================= picture ================================================ {name: 'Flickr搜索', @@ -2646,7 +2657,7 @@ var SITEINFO=[ pageElement: '//div[@class="main cf"]/div[@class="content-block cf"]/div[1]', } }, - {name: '178漫画', + {name: '动漫之家漫画网', url: "^http://(www|manhua)\\.dmzj\\.com/.+/.+shtml|^http://manhua\\.178\\.com/.+/.+shtml", siteExample:'http://manhua.178.com/lansechumoshi/15794.shtml', nextLink:'//div[@class="pages2"]/descendant::a[text()="下一页"]', @@ -3099,6 +3110,22 @@ var SITEINFO=[ pageElement: 'id("rightcolumn")/div[@class="videothumblist"] | id("rightcolumn")/div[@class="starbox"]', } }, + {name: 'NyaaTorrents', + url: '^http://(?:(?:www|sukebei?)\\.)?nyaa\\.se/', + nextLink: '//div[@class="pages"]/b/following-sibling::a[1]', + pageElement: '//table[@class="tlist"]', + exampleUrl: 'http://www.nyaa.se/', + }, + {name: '极影动漫', + url: 'http://bt.ktxp.com/.+[0-9]+-*', + nextLink: '//span[@class="current"]/following-sibling::a[1]', + pageElement: '//div[@class="item-box round-corner" and div/@class="title"]', + }, + {name: 'BTDigg Search', + url: '^https?://btdigg.org/search*', + nextLink: '//a[contains(text(),"→")]', + pageElement: '//body/div/div/center', + }, // ==================== 国外站点 =================== {name: 'AnandTech',