diff --git a/Super_preloaderPlus/src/meta.js b/Super_preloaderPlus/src/meta.js index 23fd0cbb..c1ee2d55 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.5 +// @version 6.3.6 // @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 07ce76ad..c7387b12 100644 --- a/Super_preloaderPlus/src/rule.js +++ b/Super_preloaderPlus/src/rule.js @@ -291,7 +291,7 @@ var SITEINFO=[ } }, - // ====== 目前 Super_preloaderPlus_one 不支持用于 uAutoPagerize2 的规则 ================== + // ====== 目前 Super_preloaderPlus_one 还有问题的 ======== {name: '水木社区', url: '^http://www\\.newsmth\\.net/nForum', nextLink: '//a[@title="下一页"]', @@ -299,7 +299,7 @@ var SITEINFO=[ exampleUrl: 'http://www.newsmth.net/nForum/#!board/TouHou' }, - // =============== baidu 其它 ====================== + // =============== baidu 其它 =========== {name: '百度贴吧列表', url: /^http:\/\/tieba\.baidu\.(cn|com)\/f/i, nextLink: '//div[@class="pager clearfix"]/descendant::a[@class="next"]', @@ -674,7 +674,7 @@ var SITEINFO=[ } }, {name: "搜库-专找视频", - url: "^http://www\\.soku\\.com/search", + url: "^http://www\\.soku\\.com/", nextLink: '//li[@class="next"]/a[@title="下一页"]', autopager: { pageElement: '//div[@class="sk_result"]', @@ -814,6 +814,14 @@ var SITEINFO=[ lazyImgSrc: 'data-lazyload', } }, + {name: '京东读书', + url: /^http:\/\/read\.jd\.com\/.*\/.*\.html/i, + exampleUrl: 'http://read.jd.com/16171/778043.html', + nextLink: 'auto;', + autopager: { + pageElement: '//div[@class="mc clearfix"]', + } + }, {name: '亚马逊', url: /^http:\/\/www\.amazon\.cn\/gp\/search\//i, nextLink: 'auto;', @@ -852,6 +860,15 @@ var SITEINFO=[ pageElement: 'id("agreement")', } }, + {name: ' 秒便宜论坛', + url: /^http:\/\/bbs\.miaopy\.com\//i, + exampleUrl: 'http://bbs.miaopy.com/activity/list-3.aspx', + nextLink: 'auto;', + autopager: { + pageElement: 'css;.forumtopics-list', + stylish: 'div.sp-separator { width: 800px !important;}' + } + }, // ========================= 知识、阅读 ============================ {name: '豆瓣-书影音评论', @@ -1162,7 +1179,12 @@ var SITEINFO=[ autopager: { pageElement: 'id("J_posts_list")', replaceE: 'css;.pages', - useiframe: true + documentFilter: function(doc) { + // 头像载入出错的修正 + [].forEach.call(doc.querySelectorAll('img.J_avatar'), function(img){ + img.setAttribute('onerror', 'this.src="http://www.firefox.net.cn/res/images/face/face_small.jpg";'); + }); + } } }, {name: 'Firefox中文社区 - 帖子', @@ -1708,7 +1730,7 @@ var SITEINFO=[ exampleUrl: 'http://soso.nipic.com/search.aspx?t=tk&q=%B7%E2%C3%E6', nextLink: 'auto;', autopager: { - pageElement: 'id("bd") | //center/table[@width="900" and @cellspacing="0" and @cellpadding="0" and @border="0"]', + pageElement: 'id("bd") | //ul[@class="search-result-box clearfix"] | //center/table[@width="900" and @cellspacing="0" and @cellpadding="0" and @border="0"]', lazyImgSrc: "data-original", stylish: '.lazy { display: block; }' } diff --git a/Super_preloaderPlus/super_preloaderplus_one.user.js b/Super_preloaderPlus/super_preloaderplus_one.user.js index b9925ceb..da53d742 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.5 +// @version 6.3.6 // @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 @@ -336,7 +336,7 @@ var SITEINFO=[ } }, - // ====== 目前 Super_preloaderPlus_one 不支持用于 uAutoPagerize2 的规则 ================== + // ====== 目前 Super_preloaderPlus_one 还有问题的 ======== {name: '水木社区', url: '^http://www\\.newsmth\\.net/nForum', nextLink: '//a[@title="下一页"]', @@ -344,7 +344,7 @@ var SITEINFO=[ exampleUrl: 'http://www.newsmth.net/nForum/#!board/TouHou' }, - // =============== baidu 其它 ====================== + // =============== baidu 其它 =========== {name: '百度贴吧列表', url: /^http:\/\/tieba\.baidu\.(cn|com)\/f/i, nextLink: '//div[@class="pager clearfix"]/descendant::a[@class="next"]', @@ -719,7 +719,7 @@ var SITEINFO=[ } }, {name: "搜库-专找视频", - url: "^http://www\\.soku\\.com/search", + url: "^http://www\\.soku\\.com/", nextLink: '//li[@class="next"]/a[@title="下一页"]', autopager: { pageElement: '//div[@class="sk_result"]', @@ -859,6 +859,14 @@ var SITEINFO=[ lazyImgSrc: 'data-lazyload', } }, + {name: '京东读书', + url: /^http:\/\/read\.jd\.com\/.*\/.*\.html/i, + exampleUrl: 'http://read.jd.com/16171/778043.html', + nextLink: 'auto;', + autopager: { + pageElement: '//div[@class="mc clearfix"]', + } + }, {name: '亚马逊', url: /^http:\/\/www\.amazon\.cn\/gp\/search\//i, nextLink: 'auto;', @@ -897,6 +905,15 @@ var SITEINFO=[ pageElement: 'id("agreement")', } }, + {name: ' 秒便宜论坛', + url: /^http:\/\/bbs\.miaopy\.com\//i, + exampleUrl: 'http://bbs.miaopy.com/activity/list-3.aspx', + nextLink: 'auto;', + autopager: { + pageElement: 'css;.forumtopics-list', + stylish: 'div.sp-separator { width: 800px !important;}' + } + }, // ========================= 知识、阅读 ============================ {name: '豆瓣-书影音评论', @@ -1207,7 +1224,12 @@ var SITEINFO=[ autopager: { pageElement: 'id("J_posts_list")', replaceE: 'css;.pages', - useiframe: true + documentFilter: function(doc) { + // 头像载入出错的修正 + [].forEach.call(doc.querySelectorAll('img.J_avatar'), function(img){ + img.setAttribute('onerror', 'this.src="http://www.firefox.net.cn/res/images/face/face_small.jpg";'); + }); + } } }, {name: 'Firefox中文社区 - 帖子', @@ -1753,7 +1775,7 @@ var SITEINFO=[ exampleUrl: 'http://soso.nipic.com/search.aspx?t=tk&q=%B7%E2%C3%E6', nextLink: 'auto;', autopager: { - pageElement: 'id("bd") | //center/table[@width="900" and @cellspacing="0" and @cellpadding="0" and @border="0"]', + pageElement: 'id("bd") | //ul[@class="search-result-box clearfix"] | //center/table[@width="900" and @cellspacing="0" and @cellpadding="0" and @border="0"]', lazyImgSrc: "data-original", stylish: '.lazy { display: block; }' }