Skip to content

Commit f4dee18

Browse files
committed
优化 [部分影视网站模板] 通用规则
1 parent 4ccca20 commit f4dee18

2 files changed

Lines changed: 6 additions & 19 deletions

File tree

Autopage.user.js

Lines changed: 6 additions & 7 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.1.0
6+
// @version 6.1.1
77
// @author X.I.U
88
// @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、B 站(bilibili)、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...) 等網站~
@@ -332,7 +332,7 @@
332332
} else if (getCSS('meta[name="template" i][content="Mirages" i]') && getCSS('.page-navigator')) {
333333
console.info(`[自动无缝翻页] - 部分使用 Typecho 的网站 (Mirages)`); return 13;
334334

335-
} else if (getCSS('.stui-page, .stui-page__item') && getCSS('li.active.hidden-xs+li.hidden-xs>a') && getCSS('.stui-vodlist')) {
335+
} else if (getCSS('.stui-page, .stui-page__item, #long-page, .myui-page, .myui-page__item')) {
336336
console.info(`[自动无缝翻页] - 部分影视网站`); return 300;
337337

338338
} else if (getCSS('.ArticleImageBox, .PictureList') && getCSS('.article_page') && getXpath('//div[contains(@class,"article_page")]//a[text()="下一页"]')) {
@@ -592,13 +592,12 @@ function: {
592592
}
593593
}, // 笔趣阁 4 模板的小说网站
594594
yingshi: {
595-
style: 'div.stui-page__all {display: none !important;}',
595+
style: 'div.stui-page__all, div.myui-page__all {display: none !important;}',
596596
blank: 3,
597597
pager: {
598-
nextL: 'li.active.hidden-xs+li.hidden-xs>a',
599-
pageE: '.stui-vodlist',
600-
replaceE: '.stui-page, .stui-page__item',
601-
scrollD: 1000
598+
nextL: '.stui-page li.active+li>a, .stui-page__item li.active+li>a, #long-page .active+li>a, .myui-page .visible-xs+li>a',
599+
pageE: '.stui-vodlist, .myui-vodlist>li, #content, #searchList',
600+
replaceE: '.stui-page, .stui-page__item, #long-page, .myui-page, .myui-page__item'
602601
},
603602
function: {
604603
bF: src_bF,

other/Autopage/rules.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,18 +2179,6 @@
21792179
"bF": "return fun.src_bF(pageE)"
21802180
}
21812181
},
2182-
"gimy 剧迷": {
2183-
"host": ["gimy.app","gimytv.app"],
2184-
"url": "/^\\/(cat|genre|search)\\//",
2185-
"pager": {
2186-
"nextL": "#long-page .active+li>a, .myui-page .visible-xs+li>a",
2187-
"pageE": "#content, .myui-vodlist>li, #searchList",
2188-
"replaceE": "#long-page, .myui-page"
2189-
},
2190-
"function": {
2191-
"bF": "return fun.src_bF(pageE, [1,'a[data-original]','data-original'])"
2192-
}
2193-
},
21942182
"ZzzFun 动漫": {
21952183
"host": "www.zzzfun.com",
21962184
"url": "/^\\/vod_(type|show|search)/",

0 commit comments

Comments
 (0)