Skip to content

Commit 1bfef66

Browse files
committed
更新 [nhentai.xxx] 规则
1 parent 3506394 commit 1bfef66

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

other/Autopage/rules.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6359,6 +6359,32 @@
63596359
"bF": "if (fun.getCSS('.container>.gallery') && typeof _n_app !== 'undefined' && _n_app.options.blacklisted_tags != null && _n_app.options.blacklisted_tags.length != 0) {pageE.forEach(function (one) {let tags = one.dataset.tags.split(' ');for (let i=0; i < tags.length; i++){for (let ii=0; ii < _n_app.options.blacklisted_tags.length; ii++){if (tags[i] == _n_app.options.blacklisted_tags[ii]) {one.classList.add('blacklisted');};};};});}; return fun.src_bF(pageE)"
63606360
}
63616361
},
6362+
"nhentai.xxx": {
6363+
"host": "nhentai.xxx",
6364+
"url": "return fun.isPager()",
6365+
"blank": 3,
6366+
"pager": {
6367+
"nextL": "li.active+li:not(.disabled)>a",
6368+
"pageE": ".gallery_item",
6369+
"replaceE": ".pagination"
6370+
},
6371+
"function": {
6372+
"bF": "return fun.src_bF(pageE)"
6373+
}
6374+
},
6375+
"nhentai.xxx - g": {
6376+
"host": "nhentai.xxx",
6377+
"url": "if(fun.indexOF(/^\\/g\\/\\d+\\/\\d+\\//)){const imageA = fun.getCSS('.fw_img');imageA.outerHTML=imageA.innerHTML;return true;}",
6378+
"style": ".pg_prv,.pg_nxt",
6379+
"pager": {
6380+
"nextL": "js;return fun.getNextUPN(/^\\/g\\/\\d+\\/(\\d+)\\//,/\\/(\\d+)\\/$/,'/','/','2',fun.getCSS('.tp').textContent)",
6381+
"pageE": "#fimg",
6382+
"replaceE": ".reader_nav"
6383+
},
6384+
"function": {
6385+
"bF": "return fun.src_bF(pageE)"
6386+
}
6387+
},
63626388
"HentaiFox": {
63636389
"host": "hentaifox.com",
63646390
"url": "return fun.isPager()",

0 commit comments

Comments
 (0)