diff --git a/Autopage.user.js b/Autopage.user.js index 73ec6ff..c27c299 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.1.0 +// @version 5.1.1 // @author X.I.U // @description 无缝拼接下一页内容(瀑布流),目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP」论坛】【百度、谷歌、必应、搜狗、微信、360、Yahoo、Yandex 等搜索引擎】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、糗事百科、龙的天空、起点中文、IT之家、千图网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、包子漫画、Mangabz、Xmanhua 等漫画网站】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... // @description:zh-TW 無縫拼接下一頁內容(瀑布流),支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎等網站~ @@ -2330,289 +2330,6 @@ function: { scrollD: 1000 } }, // B 站(Bilibili) - 搜索页 - 专栏 - cupfox: { - host: 'www.cupfox.com', - pager: { - type: 2, - nextL: '.load-more', - nextText: '点击加载更多', - scrollD: 700 - } - }, // 茶杯狐 - novipnoad: { - host: 'www.novipnoad.com', - url: ()=> {if (lp != '/' && !indexOF('.html')) {curSite = DBSite.novipnoad;}}, - pager: { - nextL: 'a.nextpostslink', - pageE: '.video-listing-content .row > div', - replaceE: '.wp-pagenavi', - scrollD: 1500 - }, - function: { - bF: src_bF, - bFp: [0, 'img[data-original]', 'data-original'] - } - }, // NO视频 - ddrk: { - host: ['ddrk.me', 'ddys.tv'], - url: ()=> {if (lp == '/' || indexOF(/\/(category|tag)\//)) {curSite = DBSite.ddrk;}}, - pager: { - nextL: 'a.next', - pageE: '.post-box-list > article', - replaceE: '.pagination_wrap', - scrollD: 1500 - } - }, // 低端影视 - nfmovies: { - host: 'www.nfmovies.com', - url: ()=> {if (lp == '/search.php' || indexOF('/list/')) {curSite = DBSite.nfmovies;}}, - pager: { - nextL: '//ul[contains(@class, "myui-page")]/li/a[text()="下一页"]', - pageE: 'ul.myui-vodlist > li', - replaceE: 'ul.myui-page', - scrollD: 1500 - }, - function: { - bF: src_bF, - bFp: [1, 'a[data-original]', 'data-original'] - } - }, // 奈菲影视 - zxzj: { - host: ['www.zxzj.me', 'www.zxzj.fun'], - url: ()=> {if (lp != '/' && !indexOF('/detail/') && !indexOF('/video/')) {curSite = DBSite.zxzj;}}, - style: 'div.stui-page__all {display: none !important;}', - pager: { - nextL: '//ul[contains(@class, "stui-page__item")]//a[text()="下一页"]', - pageE: 'ul.stui-vodlist > li', - replaceE: 'ul.stui-page__item', - scrollD: 1000 - }, - function: { - bF: src_bF, - bFp: [1, 'a[data-original]', 'data-original'] - } - }, // 在线之家 - enlienli: { - host: 'enlienli.com', - url: ()=> {if (indexOF('/show/') || indexOF('/search')) {curSite = DBSite.enlienli;}}, - pager: { - nextL: 'a.page-number.page-next', - pageE: '.module-items > *', - replaceE: '#page', - scrollD: 1000 - }, - function: { - bF: src_bF, - bFp: [0, 'img[data-src]', 'data-src'] - } - }, // 嗯哩嗯哩 - mjw91: { - host: 'mjw91.com', - url: ()=> {if (!indexOF('/video/') || !indexOF('/vplay/')) {curSite = DBSite.mjw91;}}, - pager: { - nextL: '.next-page > a', - pageE: '.m-movies > article', - replaceE: '.pagination', - scrollD: 1500 - }, - function: { - bF: src_bF, - bFp: [0, 'img[data-original]', 'data-original'] - } - }, // 91 美剧网 - zhenbuka: { - host: ['www.zhenbuka3.com', 'www.zhenbuka5.com'], - url: ()=> {if (indexOF('/vodtype/')) {curSite = DBSite.zhenbuka;}}, - pager: { - nextL: '//ul[contains(@class, "stui-page")]/li/a[text()="下一页"]', - pageE: 'ul.stui-vodlist > li', - replaceE: 'ul.stui-page', - scrollD: 1500 - }, - function: { - bF: src_bF, - bFp: [1, 'a[data-original]', 'data-original'] - } - }, // 真不卡影院 - zzzfun: { - host: 'www.zzzfun.com', - url: ()=> { - if (indexOF('/vod_type') || indexOF('/vod_show')) { - curSite = DBSite.zzzfun; - } else if (indexOF('/vod_search')) { - curSite = DBSite.zzzfun_search; - }}, - pager: { - nextL: '#page a[title="下一页"]', - pageE: 'ul.search-result > a', - replaceE: '#page', - scrollD: 1000 - }, - function: { - bF: src_bF, - bFp: [0, 'img[data-original]', 'data-original'] - } - }, // ZzzFun 动漫 - zzzfun_search: { - pager: { - nextL: '#page a[title="下一页"]', - pageE: 'ul.show-list > li', - replaceE: '#page', - scrollD: 1000 - }, - function: { - bF: src_bF, - bFp: [0, 'img[data-original]', 'data-original'] - } - }, // ZzzFun 动漫 - 搜索页 - tucao: { - host: 'www.tucao.one', - url: ()=> {if (indexOF('/list/')) { - curSite = DBSite.tucao; - } else if (indexOF('search', 's')) { - curSite = DBSite.tucao_search; - }}, - pager: { - nextL: '.pagego a', - pageE: '.list > ul > li', - replaceE: '.newpages, .pagego, #float_show', - scrollD: 1000 - } - }, // 吐槽弹幕网 - tucao_search: { - pager: { - nextL: '//a[@class="a1"][contains(text(), "下一页")]', - pageE: '.search_list > *', - replaceE: '.pages', - scrollD: 1000 - } - }, // 吐槽弹幕网 - 搜索页 - mandao: { - host: 'www.mandao.tv', - url: ()=> {if (lp != '/' && !indexOF('/man')) { - curSite = DBSite.mandao; - }}, - pager: { - nextL: '//div[contains(@class, "page")]/a[text()=">"]', - pageE: '.index-tj > ul > li', - replaceE: '.page', - scrollD: 1000 - }, - function: { - bF: src_bF, - bFp: [0, 'img[data-original]', 'data-original'] - } - }, // 漫岛动漫 - yxdm: { - host: 'www.yxdm.li', - url: ()=> {if (indexOF('/search') || indexOF('/category') || indexOF('/resource')) {curSite = DBSite.yxdm;}}, - pager: { - nextL: '//a[@class="nextPage" or text()="下一页"]', - pageE: '.dhnew > ul > li', - replaceE: '.pagelist', - scrollD: 2000 - } - }, // 怡萱动漫 - nicotv: { - host: 'www.nicotv.me', - url: ()=> {if (indexOF('/search') || indexOF('/type')) {curSite = DBSite.nicotv;}}, - pager: { - nextL: '//ul[contains(@class, "pagination ")]//a[text()="»"]', - pageE: 'ul.list-unstyled > li', - replaceE: 'ul.pagination ', - scrollD: 1000 - }, - function: { - bF: src_bF, - bFp: [0, 'img[data-original]', 'data-original'] - } - }, // 妮可动漫 - yhdm: { - host: ['www.imomoe.la', 'www.imomoe.live'], - url: ()=> {if (indexOF('/list/')) { - curSite = DBSite.yhdm; - } else if (lp == '/so.asp' || lp == '/search.asp') { - curSite = DBSite.yhdm_; - }}, - pager: { - nextL: '//div[@class="pages"]/a[text()="下一页"]', - pageE: '#contrainer > .img> ul > li', - replaceE: '.pages', - scrollD: 1000 - } - }, // 樱花动漫 - yhdm_: { - pager: { - nextL: '//div[@class="pages"]/a[text()="下一页"]', - pageE: '#contrainer .fire .pics > ul > li', - replaceE: '.pages', - scrollD: 1000 - } - }, // 樱花动漫 - 搜索页等 - agefans: { - host: ['www.agemys.com', 'www.age.tv'], - url: ()=> {if (indexOF('/catalog/') || lp == '/search') { - curSite = DBSite.agefans; - } else if (lp == '/recommend' || lp == '/update') { - curSite = DBSite.agefans_; - } else if (lp == '/rank') { - curSite = DBSite.agefans_rank; - }}, - pager: { - nextL: 'id("container")//div[@class="blockcontent"]/div[@style][not(@class)]/li/a[contains(text(), "下一页")]', - pageE: '#container .blockcontent1 > div', - replaceE: '#container .blockcontent > div[style]:not([class])', - scrollD: 1000 - } - }, // AGE 动漫 - 全部/搜索 - agefans_: { - pager: { - nextL: 'id("container")//div[@class="blockcontent"]/div[@style][not(@class)]/li/a[contains(text(), "下一页")]', - pageE: '#container .blockcontent > ul > li', - replaceE: '#container .blockcontent > div[style]:not([class])', - scrollD: 1000 - } - }, // AGE 动漫 - 其他页 - agefans_rank: { - pager: { - nextL: 'id("container")/ul[@style][not(@class)]/li/a[contains(text(), "下一页")]', - pageE: '#container > .div_right .blockcontent.div_right_r_3 > ul', - replaceE: '#container > ul[style]:not([class])', - scrollD: 1000 - } - }, // AGE 动漫 - 排行榜 - dm233: { - host: 'www.dm233.cc', - url: ()=> {if (indexOF('/catalog/') || lp == '/recommend/' || lp == '/search') { - curSite = DBSite.dm233; - } else if (lp == '/article/') { - curSite = DBSite.dm233_article; - } else if (lp == '/rank/') { - curSite = DBSite.dm233_rank; - }}, - pager: { - nextL: '//div[@class="pagelist"]//a[contains(text(), "下一页") or contains(text(), "下一頁")]', - pageE: '.dhnew ul > li', - replaceE: '.pagelist', - scrollD: 1000 - } - }, // 233 动漫 - dm233_article: { - pager: { - nextL: '//div[@class="pagelist"]//a[contains(text(), "下一页") or contains(text(), "下一頁")]', - pageE: '.xgyd ul > li', - replaceE: '.pagelist', - scrollD: 1000 - } - }, // 233 动漫 - 动漫情报/资讯 - dm233_rank: { - pager: { - nextL: '//div[@class="pagelist"]//a[contains(text(), "下一页") or contains(text(), "下一頁")]', - pageE: '.side-update.normal-wai > .normal-nei', - replaceE: '.pagelist', - scrollD: 1000 - } - }, // 233 动漫 - 排行榜 anime1: { host: 'anime1.me', url: ()=> {if (indexOF('s=', 's')) {curSite = DBSite.wp_nav_navigation;} else if (lp == '/') {curSite = DBSite.anime1;}}, @@ -2629,312 +2346,7 @@ function: { interval: 500, scrollD: 800 } - }, // Anime1 - yinfans: { - host: /www\.yinfans\./, - style: '#post_container {height: auto !important;} #post_container > li {position: static !important; float: left !important; height: 620px !important;}', - pager: { - nextL: 'a.next', - pageE: '#post_container > li', - replaceE: '.pagination', - scrollD: 1500 - } - }, // 音范丝 - btbtt: { - host: /btbtt/, - pager: { - nextL: '//div[@class="page"]/a[contains(text(), "▶") or contains(text(), "下一页")]', - pageE: '#threadlist > *', - replaceE: '.page', - scrollD: 2000 - } - }, // BT 之家 - bdys: { - host: 'www.bd2020.com', - url: ()=> {if (lp != '/' && !indexOF(/\/\d+\.htm/)) {curSite = DBSite.bdys;}}, - pager: { - type: 2, - nextL: 'div.layui-flow-more > a', - nextText: '加载更多', - scrollD: 1000 - } - }, // BD 影视 - gaoqing_fm: { - host: 'gaoqing.fm', - pager: { - type: 2, - nextL: '.col-md-12 > a, #loadmore > a', - interval: 1500, - scrollD: 1000 - } - }, // 高清电台 - yyds: { - host: 'yyds.fans', - url: ()=> {if (location.search != '' && !indexOF('p=', 's')) {curSite = DBSite.yyds;}}, - pager: { - nextL: 'a.next.page-numbers', - pageE: '.list-grouped > div', - replaceE: 'nav.pagination', - scrollD: 1100 - } - }, // YYDS 电影 - kisssub: { - host: ['www.kisssub.org','www.comicat.org', /(share|www)\.acgnx\./], - pager: { - nextL: 'a.nextprev:last-of-type', - pageE: '#data_list > tr', - replaceE: '.pages', - scrollD: 2500 - } - }, // 爱恋动漫 / 漫猫动漫 / 末日动漫 - dmhy: { - host: ['share.dmhy.org', 'dmhy.anoneko.com'], - pager: { - nextL: '//div[@class="nav_title"]/a[contains(text(), "下一")]', - pageE: '#topic_list > tbody > tr', - replaceE: '.nav_title', - scrollD: 1500 - }, - function: { - aF: ()=> {document.body.appendChild(document.createElement('script')).textContent = `$('#topic_list > tbody > tr:even:not(.even):not(.odd)').addClass('even'); $('#topic_list > tbody > tr:odd:not(.even):not(.odd)').addClass('odd');`;} - } - }, // 动漫花园 - futaacg: { - host: /futaacg\./, - pager: { - nextL: 'ul.pagination a[rel="next"]', - pageE: '.topic-list > div', - replaceE: 'ul.pagination', - scrollD: 1500 - } - }, // 扶她动漫 - acg_rip: { - host: 'acg.rip', - pager: { - nextL: 'li.next>a', - pageE: 'table.post-index > tbody > tr', - replaceE: 'ul.pagination', - scrollD: 1500 - } - }, // ACG.RIP - bangumi: { - host: 'bangumi.moe', - url: ()=> {if (indexOF('/lite')) {curSite = DBSite.bangumi_lite;} else {curSite = DBSite.bangumi;}}, - pager: { - type: 2, - nextL: '[torrent-list="lattorrents"] button[ng-click="loadMore()"] ,[torrent-list="torrents"] button[ng-click="loadMore()"]', - interval: 1000, - scrollD: 1500 - } - }, // 萌番组 - bangumi_lite: { - pager: { - nextL: '//section/a[./span[contains(@class, "next")]]', - pageE: 'li.torrent-li', - replaceE: '.page-btn-section', - scrollD: 2000 - } - }, // 萌番组 lite - miobt: { - host: ['miobt.com', 'www.36dm.club'], - url: ()=> {curSite = DBSite.miobt; if (location.hostname === 'www.36dm.club') {curSite.pager.scrollD = 1000;}}, - pager: { - nextL: '//a[@class="nextprev"][contains(text(), "〉") or contains(text(), "下一页") or contains(text(), "»")]', - pageE: '#data_list > tr', - replaceE: '.pages', - scrollD: 2000 - } - }, // MioBT + 简单动漫 - reimu: { - host: /\.reimu\./, - url: ()=> {if (lp == '/' || indexOF('/category') || indexOF('/tag')) curSite = DBSite.reimu}, - pager: { - nextL: 'span.current+a.sfwppa-current-page', - pageE: 'article[id^="post-"]', - replaceE: '.wp-pagenavi', - scrollD: 1500 - } - }, // REIMU - hacg: { - host: /\.hacg\./, - url: ()=> {if (indexOF('/wp/') && !indexOF(/\d+\.html/)) curSite = DBSite.hacg}, - pager: { - nextL: 'a.nextpostslink', - pageE: 'article[id^="post-"]', - replaceE: '.wp-pagenavi', - scrollD: 1500 - } - }, // HACG - nyaa: { - host: /nyaa\.si/, - pager: { - nextL: 'a[rel="next"], li.next > a', - pageE: 'table.torrent-list > tbody > tr', - replaceE: 'ul.pagination', - scrollD: 2000 - } - }, // Nyaa - skrbt: { - host: /skrbt/, - url: ()=> {if (lp == '/search') curSite = DBSite.skrbt;}, - pager: { - nextL: ()=> { // 获取下一页地址 - let page = getCSS('a[onclick][aria-label="Next"]'); - if (page) {page = /(?<=\()\d+(?=\))/.exec(page.onclick)[0];} else {return '';} // 获取下一页页码 - if (page) return getNextF('#search-form').replace(/p=\d+/,'p=' + page) - return ''; - }, - pageE: 'div[class="row"] > .col-md-6 > ul', - insertP: ['nav[aria-label*="Page"]', 1], - replaceE: 'ul.pagination', - scrollD: 900 - } - }, // SkrBT - _1337x: { - host: /1337x\./, - url: ()=> {if (indexOF('search/')) {curSite = DBSite._1337x;}}, - pager: { - nextL: '//div[@class="pagination"]//a[text()=">>"]', - pageE: 'table.table-list > tbody > tr', - replaceE: '.pagination', - scrollD: 1200 - } - }, // 1337x - rarbg: { - host: /rarbg/, - url: ()=> {if (lp == '/torrents.php') {curSite = DBSite.rarbg; curSite.function.bF(getAllCSS('table.lista2t tr.lista2'));}}, - style: 'html::-webkit-scrollbar {height: 0 !important;}', - pager: { - nextL: '#pager_links > a[title="next page"]', - pageE: 'table.lista2t tr.lista2', - replaceE: '#pager_links', - scrollD: 1200 - }, - function: { - bF: pageE => { // 插入前函数(鼠标指向显示封面) - pageE.forEach(function (one) { - one.querySelectorAll('td > a[onmouseover][onmouseout]').forEach(function (now) { - now.parentElement.parentElement.setAttribute('onmouseover', now.getAttribute('onmouseover')); now.removeAttribute('onmouseover'); - now.parentElement.parentElement.setAttribute('onmouseout', now.getAttribute('onmouseout')); now.removeAttribute('onmouseout'); - }); - }); - return pageE - } - } - }, // RARBG - /*thepiratebay: { - host: 'thepiratebay.org', - url: ()=> {if (lp == '/search.php') {curSite = DBSite.thepiratebay;}}, - pager: { - type: 6, - nextL: 'center > b+a[href]', - pageE: 'ol#torrents > li[id]', - replaceE: 'center', - loadTime: 1000, - scrollD: 1500 - } - },*/ // thepiratebay - subdh: { - host: 'webhd.cc', - url: ()=> {if (lp == '/' || indexOF('/list/new')) {curSite = DBSite.subdh;} else if (indexOF('/search')) {curSite = DBSite.subdh_search;}}, - pager: { - nextL: '//a[@class="page-link"][contains(text(), "下一页")]', - pageE: '.col-lg-9 .bg-white.shadow-sm.rounded-3 > .row.gx-0', - replaceE: 'ul.pagination', - scrollD: 1000 - } - }, // SubDH - subdh_search: { - pager: { - nextL: '//a[@class="page-link"][contains(text(), "下一页")]', - pageE: '.col-lg-9 .bg-white.shadow-sm.rounded-3', - insertP: ['nav[aria-label="pagination"]', 1], - replaceE: 'ul.pagination', - scrollD: 1000 - } - }, // SubDH - 搜索页 - mini4k: { - host: 'www.mini4k.com', - url: ()=> {if (indexOF('/forum') && !indexOF('/topic')) {curSite = DBSite.mini4k; curSite.pager.pageE = '#block-white-content tbody > tr'} else if (lp != '/' && !indexOF(/\/\d{3,}/)) {curSite = DBSite.mini4k;};}, - pager: { - nextL: 'a.pager__item--next', - pageE: 'div[class*="-item-list"] > ul > li', - replaceE: '.pagination', - scrollD: 2000 - } - }, // MINI4K - bthaha: { - host: /bthaha/, - url: ()=> {if (indexOF('/search/')) { - curSite = DBSite.bthaha; - getAllCSS('[id^="list_top"], [id^="list_bottom"]').forEach(function (one) {one.parentElement.parentElement.hidden = true;}); - }}, - style: '[id^="list_top"], [id^="list_bottom"] {display: none !important;}', - pager: { - nextL: '//ul[@class="pagination"]/li/a[contains(text(), "下一页")]', - pageE: 'table.table > tbody > tr', - replaceE: 'ul.pagination', - scrollD: 1000 - }, - function: { - bF: pageE => { // 插入前函数(隐藏底部元素) - pageE.forEach(function (one) {let now = one.querySelector('[id^="list_top"], [id^="list_bottom"]'); if (now) {one.hidden = true;};}); - return pageE - } - } - }, // BTHaha - a4k: { - host: 'www.a4k.net', - url: ()=> {if (!indexOF('/subtitle/')) {curSite = DBSite.a4k;};}, - pager: { - nextL: 'a.pager__item--next', - pageE: 'ul.list > li', - replaceE: '.pagination', - scrollD: 1000 - } - }, // A4k 字幕网(字幕) - assrt: { - host: 'assrt.net', - url: ()=> {if (lp === '/sub/') {curSite = DBSite.assrt;} else if (indexOF('/list/')) {curSite = DBSite.assrt_list;}}, - pager: { - nextL: ()=> getNextEP('#pl-current+a[href]:not([id])', 'page=', /page=\d+/), - pageE: '.resultcard > div:not(#top-banner):not(#bottom-banner):not(.pagelinkcard)', - insertP: ['.pagelinkcard', 1], - replaceE: '.pagelinkcard', - scrollD: 1000 - } - }, // 射手网(字幕) - assrt_list: { - pager: { - nextL: '//a[@id="pl-nav" and text()=">"]', - pageE: '#resultsdiv > .subitem:not([id])', - replaceE: '.pagelinkcard', - scrollD: 1000 - } - }, // 射手网(字幕) - subhd: { - host: 'subhd.tv', - url: ()=> {if (lp == '/forum/forum') { - curSite = DBSite.subhd_forum; - } else if (lp != '/' && lp != '/zu' && !indexOF('/a/') && !indexOF('/d/') && !indexOF('/forum/')) { - curSite = DBSite.subhd; - }}, - pager: { - nextL: '//a[@class="page-link"][contains(text(), "下一页")]', - pageE: '.bg-white.shadow-sm.rounded-3', - insertP: ['nav.clearfix', 1], - replaceE: 'nav.clearfix', - scrollD: 1000 - } - }, // SubHD(字幕) - subhd_forum: { - pager: { - nextL: '//a[@class="page-link"][contains(text(), "下一页")]', - pageE: '.bg-white.shadow-sm.rounded-3 > div', - replaceE: 'nav.clearfix', - scrollD: 800 - } - }, // SubHD - forum(字幕) + }, // Anime1 manben: { host: 'www.manben.com', url: ()=> {if (indexOF(/\/m\d+/)) { diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 00d14ba..d80c87b 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1,4 +1,555 @@ { + "茶杯狐": { + "host": "/www\\.cupfox\\./", + "pager": { + "type": 2, + "nextL": ".load-more", + "nextText": "点击加载更多", + "scrollD": 700 + } + }, + "NO视频": { + "host": "www.novipnoad.com", + "url": "return (fun.lp() != '/' && !fun.indexOF('.html'))", + "pager": { + "nextL": "a.nextpostslink", + "pageE": ".video-listing-content .row > div", + "replaceE": ".wp-pagenavi" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])" + } + }, + "低端影视": { + "host": [ + "ddrk.me", + "ddys.tv" + ], + "url": "return (fun.lp() == '/' || fun.indexOF(/^\\/page\\//) || fun.indexOF(/\\/(category|tag)\\//))", + "pager": { + "nextL": "a.next", + "pageE": ".post-box-list > article", + "replaceE": ".pagination_wrap" + } + }, + "奈菲影视": { + "host": "www.nfmovies.com", + "url": "return (fun.lp() == '/search.php' || fun.indexOF('/list/'))", + "pager": { + "nextL": "//ul[contains(@class, 'myui-page')]/li/a[text()='下一页']", + "pageE": "ul.myui-vodlist > li", + "replaceE": "ul.myui-page" + }, + "function": { + "bF": "return fun.src_bF(pageE, [1, 'a[data-original]', 'data-original'])" + } + }, + "在线之家": { + "host": [ + "www.zxzj.me", + "www.zxzj.fun" + ], + "url": "return (fun.lp() != '/' && !fun.indexOF('/detail/') && !fun.indexOF('/video/'))", + "style": "div.stui-page__all {display: none !important;}", + "pager": { + "nextL": "//ul[contains(@class, 'stui-page__item')]//a[text()='下一页']", + "pageE": "ul.stui-vodlist > li", + "replaceE": "ul.stui-page__item", + "scrollD": 1000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [1, 'a[data-original]', 'data-original'])" + } + }, + "嗯哩嗯哩": { + "host": "enlienli.com", + "url": "return (fun.indexOF('/show/') || fun.indexOF('/search'))", + "pager": { + "nextL": "a.page-number.page-next", + "pageE": ".module-items > *", + "replaceE": "#page", + "scrollD": 1000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])" + } + }, + "91 美剧网": { + "host": "/mjw\\d+\\.com/", + "url": "return (!fun.indexOF('/w/') && !fun.indexOF('/dp/'))", + "pager": { + "nextL": ".next-page > a", + "pageE": ".m-movies > article", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])" + } + }, + "真不卡影院": { + "host": "/www\\.zhenbuka\\d\\.com/", + "url": "return (fun.indexOF('/vodtype/'))", + "pager": { + "nextL": "//ul[contains(@class, 'stui-page')]/li/a[text()='下一页']", + "pageE": "ul.stui-vodlist > li", + "replaceE": "ul.stui-page" + }, + "function": { + "bF": "return fun.src_bF(pageE, [1, 'a[data-original]', 'data-original'])" + } + }, + "ZzzFun 动漫": { + "host": "www.zzzfun.com", + "url": "return (fun.indexOF('/vod_type') || fun.indexOF('/vod_show'))", + "pager": { + "nextL": "#page a[title='下一页']", + "pageE": "ul.search-result > a", + "replaceE": "#page", + "scrollD": 1000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])" + } + }, + "ZzzFun 动漫-搜索页": { + "host": "www.zzzfun.com", + "url": "return (fun.indexOF('/vod_search'))", + "pager": { + "nextL": "#page a[title='下一页']", + "pageE": "ul.show-list > li", + "replaceE": "#page", + "scrollD": 1000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])" + } + }, + "吐槽弹幕网": { + "host": "www.tucao.one", + "url": "return (fun.indexOF('/list/'))", + "pager": { + "nextL": ".pagego a", + "pageE": ".list > ul > li", + "replaceE": ".newpages, .pagego, #float_show", + "scrollD": 1000 + } + }, + "吐槽弹幕网-搜索页": { + "host": "www.tucao.one", + "url": "return (fun.indexOF('search', 's'))", + "pager": { + "nextL": "//a[@class='a1'][contains(text(), '下一页')]", + "pageE": ".search_list > *", + "replaceE": ".pages", + "scrollD": 1000 + } + }, + "樱花动漫": { + "host": [ + "www.imomoe.la", + "www.imomoe.live" + ], + "url": "return (fun.indexOF('/list/'))", + "pager": { + "nextL": "//div[@class='pages']/a[text()='下一页']", + "pageE": "#contrainer > .img> ul > li", + "replaceE": ".pages", + "scrollD": 1000 + } + }, + "樱花动漫-搜索页等": { + "host": [ + "www.imomoe.la", + "www.imomoe.live" + ], + "url": "return (fun.lp() == '/so.asp' || fun.lp() == '/search.asp')", + "pager": { + "nextL": "//div[@class='pages']/a[text()='下一页']", + "pageE": "#contrainer .fire .pics > ul > li", + "replaceE": ".pages", + "scrollD": 1000 + } + }, + "怡萱动漫": { + "host": "www.yxdm.li", + "url": "return (fun.indexOF('/search') || fun.indexOF('/category') || fun.indexOF('/resource'))", + "pager": { + "nextL": "//a[@class='nextPage' or text()='下一页']", + "pageE": ".dhnew > ul > li", + "replaceE": ".pagelist", + "scrollD": 2000 + } + }, + "妮可动漫": { + "host": "www.nicotv.me", + "url": "return (fun.indexOF('/search') || fun.indexOF('/type'))", + "pager": { + "nextL": "//ul[contains(@class, 'pagination ')]//a[text()='»']", + "pageE": "ul.list-unstyled > li", + "replaceE": "ul.pagination ", + "scrollD": 1000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])" + } + }, + "漫岛动漫": { + "host": "www.mandao.tv", + "url": "return (fun.lp() != '/' && !fun.indexOF('/man'))", + "pager": { + "nextL": "//div[contains(@class, 'page')]/a[text()='>']", + "pageE": ".index-tj > ul > li", + "replaceE": ".page", + "scrollD": 1000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])" + } + }, + "AGE 动漫-全部/搜索": { + "host": [ + "www.agemys.com", + "www.age.tv" + ], + "url": "return (fun.indexOF('/catalog/') || fun.lp() == '/search')", + "pager": { + "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", + "pageE": "#container .blockcontent1 > div", + "replaceE": "#container .blockcontent > div[style]:not([class])", + "scrollD": 1000 + } + }, + "AGE 动漫 - 其他页": { + "host": [ + "www.agemys.com", + "www.age.tv" + ], + "url": "return (fun.lp() == '/recommend' || fun.lp() == '/update')", + "pager": { + "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", + "pageE": "#container .blockcontent > ul > li", + "replaceE": "#container .blockcontent > div[style]:not([class])", + "scrollD": 1000 + } + }, + "AGE 动漫-排行榜": { + "host": [ + "www.agemys.com", + "www.age.tv" + ], + "url": "return (fun.lp() == '/rank')", + "pager": { + "nextL": "id('container')/ul[@style][not(@class)]/li/a[contains(text(), '下一页')]", + "pageE": "#container > .div_right .blockcontent.div_right_r_3 > ul", + "replaceE": "#container > ul[style]:not([class])", + "scrollD": 1000 + } + }, + "233 动漫": { + "host": "www.dm233.cc", + "url": "return (fun.indexOF('/catalog/') || fun.lp() == '/recommend/' || fun.lp() == '/search')", + "pager": { + "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", + "pageE": ".dhnew ul > li", + "replaceE": ".pagelist", + "scrollD": 1000 + } + }, + "233 动漫-动漫情报/资讯": { + "host": "www.dm233.cc", + "url": "return (fun.lp() == '/article/')", + "pager": { + "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", + "pageE": ".xgyd ul > li", + "replaceE": ".pagelist", + "scrollD": 1000 + } + }, + "233 动漫-排行榜": { + "host": "www.dm233.cc", + "url": "return (fun.lp() == '/rank/')", + "pager": { + "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", + "pageE": ".side-update.normal-wai > .normal-nei", + "replaceE": ".pagelist", + "scrollD": 1000 + } + }, + "音范丝": { + "host": "/www\\.yinfans\\./", + "style": "#post_container {height: auto !important;} #post_container > li {position: static !important; float: left !important; height: 620px !important;}", + "pager": { + "nextL": "a.next", + "pageE": "#post_container > li", + "replaceE": ".pagination" + } + }, + "BT 之家": { + "host": "/btbtt/", + "pager": { + "nextL": "//div[@class='page']/a[contains(text(), '▶') or contains(text(), '下一页')]", + "pageE": "#threadlist > *", + "replaceE": ".page", + "scrollD": 2000 + } + }, + "BD 影视": { + "host": "www.bd2020.com", + "url": "return (fun.lp() != '/' && !fun.indexOF(/\\/d+.htm/))", + "pager": { + "type": 2, + "nextL": "div.layui-flow-more > a", + "nextText": "加载更多", + "scrollD": 1000 + } + }, + "高清电台": { + "host": "gaoqing.fm", + "pager": { + "type": 2, + "nextL": ".col-md-12 > a, #loadmore > a", + "interval": 1500, + "scrollD": 1000 + } + }, + "爱恋动漫/漫猫动漫/末日动漫": { + "host": [ + "www.kisssub.org", + "www.comicat.org", + "/(share|www)\\.acgnx\\./" + ], + "pager": { + "nextL": "a.nextprev:last-of-type", + "pageE": "#data_list > tr", + "replaceE": ".pages", + "scrollD": 2500 + } + }, + "动漫花园": { + "host": [ + "share.dmhy.org", + "dmhy.anoneko.com" + ], + "pager": { + "nextL": "//div[@class='nav_title']/a[contains(text(), '下一')]", + "pageE": "#topic_list > tbody > tr", + "replaceE": ".nav_title" + }, + "function": { + "aF": "document.body.appendChild(document.createElement('script')).textContent = `$('#topic_list > tbody > tr:even:not(.even):not(.odd)').addClass('even'); $('#topic_list > tbody > tr:odd:not(.even):not(.odd)').addClass('odd');`" + } + }, + "扶她动漫": { + "host": "/futaacg\\./", + "pager": { + "nextL": "ul.pagination a[rel='next']", + "pageE": ".topic-list > div", + "replaceE": "ul.pagination" + } + }, + "ACG.RIP": { + "host": "acg.rip", + "pager": { + "nextL": "li.next>a", + "pageE": "table.post-index > tbody > tr", + "replaceE": "ul.pagination" + } + }, + "萌番组 lite": { + "host": "bangumi.moe", + "url": "return (fun.indexOF('/lite'))", + "pager": { + "nextL": "//section/a[./span[contains(@class, 'next')]]", + "pageE": "li.torrent-li", + "replaceE": ".page-btn-section", + "scrollD": 2000 + } + }, + "萌番组": { + "host": "bangumi.moe", + "pager": { + "type": 2, + "nextL": "[torrent-list='lattorrents'] button[ng-click='loadMore()'] ,[torrent-list='torrents'] button[ng-click='loadMore()']", + "interval": 1000 + } + }, + "MioBT/简单动漫": { + "host": [ + "miobt.com", + "www.36dm.club" + ], + "pager": { + "nextL": "//a[@class='nextprev'][contains(text(), '〉') or contains(text(), '下一页') or contains(text(), '»')]", + "pageE": "#data_list > tr", + "replaceE": ".pages" + } + }, + "灵梦御所": { + "host": "blog.reimu.net", + "url": "return (fun.lp() == '/' || fun.indexOF('/category') || fun.indexOF('/tag'))", + "pager": { + "nextL": "span.current+a.sfwppa-current-page", + "pageE": "article[id^='post-']", + "replaceE": ".wp-pagenavi" + } + }, + "琉璃神社": { + "host": "/\\.hacg\\./", + "url": "return (fun.indexOF('/wp/') && !fun.indexOF(/d+.html/))", + "pager": { + "nextL": "a.nextpostslink", + "pageE": "article[id^='post-']", + "replaceE": ".wp-pagenavi" + } + }, + "Nyaa": { + "host": [ + "nyaa.si", + "sukebei.nyaa.si" + ], + "pager": { + "nextL": "a[rel='next'], li.next > a", + "pageE": "table.torrent-list > tbody > tr", + "replaceE": "ul.pagination", + "scrollD": 2000 + } + }, + "SkrBT": { + "host": "/skrbt/", + "url": "return (fun.lp() == '/search')", + "pager": { + "nextL": "js;let page = fun.getCSS('a[onclick][aria-label=\"Next\"]'); if (page) {page = /(?<=\\()\\d+(?=\\))/.exec(page.onclick)[0];} else {return '';}; if (page) {return fun.getNextF('#search-form').replace(/p=\\d+/,'p=' + page)} else {return '';}", + "pageE": "div[class='row'] > .col-md-6 > ul", + "insertP": [ + "nav[aria-label*='Page']", + 1 + ], + "replaceE": "ul.pagination", + "scrollD": 900 + } + }, + "1337x": { + "host": "/1337x\\./", + "url": "return (fun.indexOF('search/'))", + "pager": { + "nextL": "//div[@class='pagination']//a[text()='>>']", + "pageE": "table.table-list > tbody > tr", + "replaceE": ".pagination", + "scrollD": 1200 + } + }, + "RARBG": { + "host": "/rarbg/", + "url": "return (fun.lp() == '/torrents.php')", + "pager": { + "nextL": "#pager_links > a[title='next page']", + "pageE": "table.lista2t tr.lista2", + "replaceE": "#pager_links", + "scrollD": 1200 + } + }, + "WebHD": { + "host": "webhd.cc", + "url": "return (fun.lp() == '/' || fun.indexOF('/list/new'))", + "pager": { + "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", + "pageE": ".col-lg-9 .bg-white.shadow-sm.rounded-3 > .row.gx-0", + "replaceE": "ul.pagination", + "scrollD": 1000 + } + }, + "WebHD-搜索页": { + "host": "webhd.cc", + "url": "return (fun.indexOF('/search'))", + "pager": { + "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", + "pageE": ".col-lg-9 .bg-white.shadow-sm.rounded-3", + "insertP": [ + "nav[aria-label='pagination']", + 1 + ], + "replaceE": "ul.pagination", + "scrollD": 1000 + } + }, + "MINI4K-论坛": { + "host": "www.mini4k.com", + "url": "return (fun.indexOF('/forum') && !fun.indexOF('/topic'))", + "pager": { + "nextL": "a.pager__item--next", + "pageE": "#block-white-content tbody > tr", + "replaceE": ".pagination", + "scrollD": 2000 + } + }, + "MINI4K": { + "host": "www.mini4k.com", + "url": "return (fun.lp() != '/' && !fun.indexOF(/\\/\\d{3,}/))", + "pager": { + "nextL": "a.pager__item--next", + "pageE": "div[class*='-item-list'] > ul > li", + "replaceE": ".pagination", + "scrollD": 2000 + } + }, + "A4k字幕网": { + "host": "www.a4k.net", + "url": "return (!fun.indexOF('/subtitle/'))", + "pager": { + "nextL": "a.pager__item--next", + "pageE": "ul.list > li", + "replaceE": ".pagination", + "scrollD": 1000 + } + }, + "SubHD-论坛": { + "host": "subhd.tv", + "url": "return (fun.indexOF('/forum/forum') || fun.indexOF('/forum/ask'))", + "pager": { + "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", + "pageE": ".bg-white.shadow-sm.rounded-3 > div", + "replaceE": "nav.clearfix", + "scrollD": 800 + } + }, + "SubHD": { + "host": "subhd.tv", + "url": "return (fun.lp() != '/' && fun.lp() != '/zu' && !fun.indexOF('/a/') && !fun.indexOF('/d/') && !fun.indexOF('/forum/'))", + "pager": { + "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", + "pageE": ".bg-white.shadow-sm.rounded-3", + "insertP": [ + "nav.clearfix", + 1 + ], + "replaceE": "nav.clearfix", + "scrollD": 1000 + } + }, + "射手网": { + "host": "assrt.net", + "url": "return (fun.lp() === '/sub/')", + "pager": { + "nextL": "js;return fun.getNextEP('#pl-current+a[href]:not([id])', 'page=', /page=\\d+/)", + "pageE": ".resultcard > div:not(#top-banner):not(#bottom-banner):not(.pagelinkcard)", + "insertP": [ + ".pagelinkcard", + 1 + ], + "replaceE": ".pagelinkcard", + "scrollD": 1000 + } + }, + "射手网-分类页": { + "host": "assrt.net", + "url": "return (fun.indexOF('/list/'))", + "pager": { + "nextL": "//a[@id='pl-nav' and text()='>']", + "pageE": "#resultsdiv > .subitem:not([id])", + "replaceE": ".pagelinkcard", + "scrollD": 1000 + } + }, "AO3-列表页/搜索页": { "host": "archiveofourown.org", "url": "return (fun.indexOF(/\\/works$/) || fun.lp() == '/works/search')",