|
3 | 3 | // @name:zh-CN 自动无缝翻页 |
4 | 4 | // @name:zh-TW 自動無縫翻頁 |
5 | 5 | // @name:en AutoPager |
6 | | -// @version 5.7.1 |
| 6 | +// @version 5.7.2 |
7 | 7 | // @author X.I.U |
8 | 8 | // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... |
9 | 9 | // @description:zh-TW ⭐無縫銜接下一頁內容到網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~ |
|
284 | 284 | } else if (getCSS('.ArticleImageBox, .PictureList') && getCSS('.article_page') && getXpath('//div[contains(@class,"article_page")]//a[text()="下一页"]')) { |
285 | 285 | console.info(`[自动无缝翻页] - 部分美女图站 - 手机版`); return 301; |
286 | 286 |
|
287 | | - } else if (getCSS('.content > #content') && getCSS('.page_chapter') && getXpath('//div[contains(@class,"page_chapter")]//a[text()="下一章"]')) { |
| 287 | + } else if (getCSS('.content > #content') && getXpath('//div[contains(@class,"page_chapter")]//a[text()="下一章"]')) { |
288 | 288 | console.info(`[自动无缝翻页] - <笔趣阁 1> 模板的小说网站`); return 200; |
289 | | - } else if (getCSS('#nr1') && getCSS('.nr_page') && getCSS('#pb_next')) { |
| 289 | + } else if (getCSS('#nr1, #chaptercontent, .Readarea, .ReadAjax_content') && getCSS('#pb_next')) { |
290 | 290 | console.info(`[自动无缝翻页] - <笔趣阁 2 - 手机版> 模板的小说网站`); return 201; |
291 | 291 | } else if (getCSS('#txt, .txt') && getCSS('#pb_next, .url_next') && getCSS('.chapter-control, .chapter-page-btn')) { |
292 | 292 | console.info(`[自动无缝翻页] - <笔趣阁 3> 模板的小说网站`); return 202; |
@@ -459,13 +459,13 @@ function: { |
459 | 459 | } |
460 | 460 | }, // 笔趣阁 1 模板的小说网站 |
461 | 461 | biquge1_m: { |
462 | | - style: 'img, .posterror, .show-app2, a[href*="posterror()"], [onclick*="location.href"], [style*="url("], #nr1 > *:not(br):not(p) {display: none !important;}', |
| 462 | + style: 'img, .posterror, .show-app2, a[href*="posterror()"], [onclick*="location.href"], [style*="url("], #nr1>*:not(br):not(p), #chaptercontent>*:not(br):not(p), .Readarea>*:not(br):not(p), .ReadAjax_content>*:not(br):not(p) {display: none !important;}', |
463 | 463 | history: true, |
464 | 464 | pager: { |
465 | 465 | nextL: '#pb_next', |
466 | | - pageE: '#nr1', |
467 | | - insertP: ['#nr1', 6], |
468 | | - replaceE: '.nr_page' |
| 466 | + pageE: '#nr1, #chaptercontent, .Readarea, .ReadAjax_content', |
| 467 | + insertP: ['#nr1, #chaptercontent, .Readarea, .ReadAjax_content', 6], |
| 468 | + replaceE: '//a[@id="pb_next"]/parent::*' |
469 | 469 | } |
470 | 470 | }, // 笔趣阁 2 - 手机版 模板的小说网站 |
471 | 471 | biquge2: { |
|
0 commit comments