Skip to content

Commit bf9dc88

Browse files
committed
新增 [HentaiEra] 支持
1 parent 267f3c0 commit bf9dc88

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

other/Autopage/rules.json

+24
Original file line numberDiff line numberDiff line change
@@ -6480,6 +6480,30 @@
64806480
"bF": "return fun.src_bF(pageE)"
64816481
}
64826482
},
6483+
"HentaiEra": {
6484+
"host": "hentaiera.com",
6485+
"url": "return fun.isPager()",
6486+
"style": ".blacklisted {z-index: 0;opacity: 1;-webkit-filter: none;filter: none;pointer-events: auto;}",
6487+
"blank": 3,
6488+
"pager": {
6489+
"nextL": ".pgi_itm.active+li.pgi_itm:not(.disabled)>a",
6490+
"pageE": ".thumb",
6491+
"replaceE": ".pagination"
6492+
}
6493+
},
6494+
"HentaiEra-gallery": {
6495+
"host": "hentaiera.com",
6496+
"url": "/^\\/gallery\\/\\d+/",
6497+
"hiddenPN": true
6498+
},
6499+
"HentaiEra-view": {
6500+
"host": "hentaiera.com",
6501+
"url": "if(fun.indexOF(/^\\/view\\/\\d+\\/\\d+\\//)){const a=fun.getCSS('#gimg');a.src=a.dataset.src;a.parentElement.outerHTML=a.outerHTML;window.scrollTo=()=>{return false;};return true;}",
6502+
"style": ".page_next,.page_prev,.nav_pagination,#footer_bar",
6503+
"pager": {
6504+
"nextL": "js; const next = fun.getCSS('.nav_next:not([disabled])');if(next){let gimg = fun.getCSS('#gimg'),gimg_clone = gimg.cloneNode();gimg_clone.src='';gimg.insertAdjacentElement('afterend', gimg_clone);gimg.id='';next.click();fun.pageNumIncrement();}"
6505+
}
6506+
},
64836507
"9hentai": {
64846508
"host": "www1.9hentai.com",
64856509
"url": "/^\\/g\\/\\d+\\/\\d+\\//",

0 commit comments

Comments
 (0)