Skip to content

Commit c317440

Browse files
committed
优化 [笔趣阁类小说网站] 通用规则
1 parent b00f984 commit c317440

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Autopage.user.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @name:zh-CN 自动无缝翻页
44
// @name:zh-TW 自動無縫翻頁
55
// @name:en AutoPager
6-
// @version 6.6.13
6+
// @version 6.6.14
77
// @author X.I.U
88
// @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流,无限滚动)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、MyBB、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(以上仅一小部分常见网站,更多的写不下了...
99
// @description:zh-TW ⭐無縫加載 下一頁內容 至網頁底部(類似瀑布流,无限滚动)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~
@@ -411,7 +411,7 @@
411411
} else if (getCSS('#txt, .txt') && getCSS('#pb_next, .url_next') && getCSS('.chapter-control, .chapter-page-btn')) {
412412
console.info(`[自动无缝翻页] - <笔趣阁 2> 模板的小说网站`); return 202;
413413
} else if ((getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"], meta[name="keywords" i][content*="笔趣"]') || location.hostname.indexOf('biqu')!=-1 || document.title.match(/||/)!=null) && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页") or contains(text(), "下一节")]')) {
414-
let biquge3_pageE= ['[id="chaptercontent" i]','[class~="chaptercontent" i]','[id="booktext" i]','[class~="booktext" i]','[id="txtcontent" i]','[class~="txtcontent" i]','[id="textcontent" i]','[class~="textcontent" i]','[id="read-content" i]','[class~="read-content" i]','[id="txtnav" i]','[class~="txtnav" i]','[id="txt" i][class~="txt" i]','[id="contents" i]','[class~="contents" i]','[id="content" i]','[class~="content" i]']
414+
let biquge3_pageE= ['[id="chapter_content" i]','[class~="chapter_content" i]','[id="chaptercontent" i]','[class~="chaptercontent" i]','[id="booktext" i]','[class~="booktext" i]','[id="txtcontent" i]','[class~="txtcontent" i]','[id="textcontent" i]','[class~="textcontent" i]','[id="read-content" i]','[class~="read-content" i]','[id="txtnav" i]','[class~="txtnav" i]','[id="txt" i][class~="txt" i]','[id="contents" i]','[class~="contents" i]','[id="content" i]','[class~="content" i]']
415415
for(let biquge3_pageE_ of biquge3_pageE) {if (getAllCSS(biquge3_pageE_).length === 1) {DBSite.biquge3.pager.pageE = biquge3_pageE_;DBSite.biquge3.pager.insertP = [biquge3_pageE_,6];break;}}
416416
if (DBSite.biquge3.pager.pageE != undefined) {console.info(`[自动无缝翻页] - <笔趣阁 3> 模板的小说网站`); return 203;}
417417
}
@@ -629,7 +629,7 @@ function: {
629629
insertP: ['#nr1, #chaptercontent, .Readarea, .ReadAjax_content', 6],
630630
replaceE: '//a[@id="pb_next" or @id="linkNext"]/parent::*'
631631
}
632-
}, // 笔趣阁 2 - 手机版 模板的小说网站
632+
}, // 笔趣阁 1 - 手机版 模板的小说网站
633633
biquge2: {
634634
url: ()=> {if (isMobile() || getCSS('.chapter-page-btn') != null) {curSite = DBSite.biquge2_m;} else {curSite = DBSite.biquge2;}},
635635
style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #txt > *:not(br):not(p) {display: none !important;}',
@@ -643,7 +643,7 @@ function: {
643643
loadTime: 1500,
644644
scrollD: 3500
645645
}
646-
}, // 笔趣阁 3 模板的小说网站
646+
}, // 笔趣阁 2 模板的小说网站
647647
biquge2_m: {
648648
style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #txt > *:not(br):not(p) {display: none !important;}',
649649
history: true,
@@ -653,7 +653,7 @@ function: {
653653
insertP: ['#txt, .txt', 6],
654654
replaceE: '.chapter-control, .chapter-page-btn'
655655
}
656-
}, // 笔趣阁 3 - 手机版 模板的小说网站
656+
}, // 笔趣阁 2 - 手机版 模板的小说网站
657657
biquge3: {
658658
style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), script+div[style="padding:15px;"], p[style*="font-weight:"] {display: none !important;}',
659659
history: true,
@@ -666,7 +666,7 @@ function: {
666666
bF: xs_bF,
667667
bFp: [/<br>.{0,10}.+$/, '']
668668
}
669-
}, // 笔趣阁 4 模板的小说网站
669+
}, // 笔趣阁 3 模板的小说网站
670670
yingshi: {
671671
style: 'div.stui-page__all, div.myui-page__all {display: none !important;}',
672672
blank: 3,

0 commit comments

Comments
 (0)