Skip to content

Commit 6336395

Browse files
committed
合并 [笔趣阁]、[笔趣阁 - 手机版] 规则
1 parent 417a992 commit 6336395

1 file changed

Lines changed: 3 additions & 20 deletions

File tree

Autopage.user.js

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -349,25 +349,12 @@ function: {
349349
pager: {
350350
type: 1,
351351
nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页")]',
352-
pageE: 'css;#content',
353-
insertP: ['css;#content', 6],
352+
pageE: 'css;#content, #chaptercontent, .chaptercontent, #BookText',
353+
insertP: ['css;#content, #chaptercontent, .chaptercontent, #BookText', 6],
354354
replaceE: '//*[./a[contains(text(), "下一章") or contains(text(), "下一页")]]',
355355
scrollD: 1500
356356
}
357357
}, // 笔趣阁 模板的小说网站
358-
biquge_m: {
359-
functionS: function() {if (indexOF(/\d+\/\d+\.html/)) {curSite = DBSite.biquge_m;}},
360-
insStyle: 'img {display: none !important;}',
361-
history: true,
362-
pager: {
363-
type: 1,
364-
nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页")]',
365-
pageE: 'css;#chaptercontent, .chaptercontent, #BookText',
366-
insertP: ['css;#chaptercontent, .chaptercontent, #BookText', 6],
367-
replaceE: '//*[./a[contains(text(), "下一章") or contains(text(), "下一页")]]',
368-
scrollD: 1500
369-
}
370-
}, // 笔趣阁 - 手机版 模板的小说网站
371358
baidu: {
372359
host: 'www.baidu.com',
373360
functionS: function() {locationC = true; if (lp == '/s') {curSite = DBSite.baidu;} else if (indexOF('/s')) {location.hostname = 'm.baidu.com';}},
@@ -5355,8 +5342,6 @@ function: {
53555342
DBSite.begin.functionS(); break;
53565343
case 200: // < 所有使用 笔趣阁 模板的小说网站 >
53575344
DBSite.biquge.functionS(); break;
5358-
case 201: // < 所有使用 笔趣阁 - 手机版 模板的小说网站 >
5359-
DBSite.biquge_m.functionS(); break;
53605345
}
53615346
}
53625347

@@ -6454,10 +6439,8 @@ function: {
64546439
console.info('[自动无缝翻页] - 使用 WordPress <D8> 主题的网站'); return 102;
64556440
} else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) {
64566441
console.info('[自动无缝翻页] - 使用 WordPress <Begin> 主题的网站'); return 103;
6457-
} else if (getCSS('meta[name="description"][content*="小说"], meta[name="description"][content*="章节"], meta[name="description"][content*="阅读"]') && getCSS('#content') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) {
6442+
} else if (getCSS('meta[name="description"][content*="小说"], meta[name="description"][content*="章节"], meta[name="description"][content*="阅读"]') && getCSS('#content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) {
64586443
console.info('[自动无缝翻页] - <笔趣阁> 模板的小说网站'); return 200;
6459-
} else if (getCSS('meta[name="description"][content*="小说"], meta[name="description"][content*="章节"], meta[name="description"][content*="阅读"]') && getCSS('#chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) {
6460-
console.info('[自动无缝翻页] - <笔趣阁 - 手机版> 模板的小说网站'); return 201;
64616444
} else if (self != top) {
64626445
return -1;
64636446
}

0 commit comments

Comments
 (0)