Skip to content

Commit f3b7733

Browse files
committed
优化 [好漫 6] 规则
1 parent 4eabd77 commit f3b7733

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

other/Autopage/rules.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2786,14 +2786,14 @@
27862786
"style": ".rd-guess, .rd-aside, .page-index__btn {display: none !important;} .rd-article__pic {display: initial !important;} .rd-article__pic>img {margin: 0 auto;display: block;height: auto;min-height: 200px;}",
27872787
"history": true,
27882788
"pager": {
2789-
"nextL": "js; if (fun.getCSS('a.rd-aside__item.j-rd-next')) return location.origin + fun.getCSS('a.rd-aside__item.j-rd-next').getAttribute('_href')",
2789+
"nextL": "js;return (location.origin + fun.getCSS('a.rd-aside__item.j-rd-next').getAttribute('_href'))",
27902790
"pageE": ".rd-article-wr>div",
27912791
"replaceE": "a.last-crumb, .rd-aside",
27922792
"interval": 2000,
27932793
"scrollD": 2000
27942794
},
27952795
"function": {
2796-
"bF": "if (location.hostname == 'www.g-lens.com') {return fun.src_bF(pageE, [0,'img[pc-ec]','pc-ec'])} else {return fun.src_bF(pageE, [0,'img[echo-pc]','echo-pc'])}"
2796+
"bF": "if (location.hostname == 'www.g-lens.com') {return fun.src_bF(pageE, [0,'img[pc-ec]','pc-ec'])} else {return fun.src_bF(pageE, [0,'img[data-original]','data-original'])}"
27972797
}
27982798
},
27992799
"好漫 6 - 分类/搜索页": {
@@ -2822,10 +2822,9 @@
28222822
"bF": "return fun.src_bF(pageE, [0,'img[data-echo]','data-echo'])"
28232823
}
28242824
},
2825-
"好漫 8 - 分类页": {
2825+
"好漫 8 - 分类/搜索页": {
28262826
"host": "www.haoman8.com",
2827-
"url": "/^\\/category\\//",
2828-
"style": "#readerContainer {position: initial !important;overflow: hidden !important;} #js_pageInfoText, #js_pageProgress, #js_ftAutoBtn {display: none !important;}",
2827+
"url": "/\\/(category|search)/",
28292828
"pager": {
28302829
"nextL": ".acgn-pages>.on+a",
28312830
"pageE": "li.acgn-item",

0 commit comments

Comments
 (0)