Skip to content

Commit 8fa205b

Browse files
committed
更新 [Modrinth]、[风之动漫] 规则
1 parent 593ab64 commit 8fa205b

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

other/Autopage/rules.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,9 +1969,10 @@
19691969
"Modrinth": {
19701970
"host": "modrinth.com",
19711971
"url": "fun.isUrlC(); return (fun.lp() == '/mods')",
1972+
"blank": 4,
19721973
"pager": {
1973-
"nextL": "js; let n = fun.getCSS('.page-number-container:not(.page-number)+.page-number-container>button'), m = fun.getSearch('m')||'20'; if (n && n.innerText){return fun.getNextSP((parseInt(n.innerText)-1)*parseInt(m), 'o=', /o=\\d+/);}",
1974-
"pageE": ".project-card.card",
1974+
"nextL": "js; let n = fun.getCSS('.page-number-container:not(.page-number)+.page-number-container>a'), m = fun.getSearch('m')||'20'; if (n && n.innerText){return fun.getNextSP((parseInt(n.innerText)-1)*parseInt(m), 'o=', /o=\\d+/);}",
1975+
"pageE": "article.project-card",
19751976
"replaceE": ".paginates"
19761977
}
19771978
},
@@ -3271,19 +3272,16 @@
32713272
}
32723273
},
32733274
"风之动漫": {
3274-
"host": "manhua.fffdm.com",
3275-
"url": "if (location.pathname.split('/').length === 4){document.write = function(){}; return true;}",
3276-
"style": "#footer, #header {display: none !important;} #mhimg0 img {display: block !important;margin: 0 auto !important;}",
3275+
"host": ["www.fffdm.com","manhua.fffdm.com"],
3276+
"url": "fun.isUrlC();return (location.pathname.split('/').length >= 4)",
3277+
"style": "#header, footer {display: none !important;} #mhpic {display: block !important;margin: 0 auto !important;}",
32773278
"history": true,
32783279
"pager": {
3279-
"nextL": "a.pure-button.button-success+a",
3280-
"pageE": "id('main')/script[contains(text(), 'var Title')]",
3281-
"insertP": ["body",3],
3280+
"type": 6,
3281+
"nextL": "//div[@class='navigation']/a[text()='下一页'][@href]",
3282+
"pageE": "#mhpic",
32823283
"replaceE": ".navigation",
3283-
"scriptT": 2
3284-
},
3285-
"function": {
3286-
"aF": "document.getElementById('mhimg0').appendChild(document.createElement('img')).src = mhpicurl;"
3284+
"loadTime": 500
32873285
}
32883286
},
32893287
"包子漫画": {

0 commit comments

Comments
 (0)