From 3624648206d4e2205e2435efe833adb260ba2fa3 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Thu, 27 Mar 2025 23:36:30 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20[hitomi]=20=E8=A7=84?=
=?UTF-8?q?=E5=88=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
other/Autopage/rules.json | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json
index 75681b2..86b8828 100644
--- a/other/Autopage/rules.json
+++ b/other/Autopage/rules.json
@@ -6495,15 +6495,14 @@
"url": "if(fun.indexOF(/\\/p\\/\\d\\/$/)){let t = setInterval(()=>{if(typeof chapter_preloaded_images !== 'undefined'){let _img=''; for (let i=0;i<=chapter_preloaded_images.length;i++){_img += `
`;}; document.querySelector('.reading-content').innerHTML = _img;clearInterval(t);}},500); return true;}",
"hiddenPN": true
},
- "hitomi": {
- "host": "hitomi.la",
- "url": "if(fun.indexOF('/reader/')){setTimeout(()=>{let _img='
';for (let i=0;i<2;i++){_img += `
}\")
`;};document.getElementById('comicImages').outerHTML = _img+'
';window.imgIndex = 1;},500);return true;}",
- "style": "body {height: auto !important; overflow: auto !important;} #comicImages.fitVertical img {margin: 0 auto;display: block;max-height: calc(1000px - 41px);} .navbar-static-top {display: none;}",
- "pager": {
- "nextL": "js;if(window.imgIndex +1 >= our_galleryinfo.length){return}; document.getElementById('comicImages').insertAdjacentHTML('beforeend',`
`); window.imgIndex+=1;",
- "scrollD": 1000
- }
- },
+ "hitomi": {
+ "host": "hitomi.la",
+ "url": "if(fun.indexOF('/reader/')){window.imgIndex = 1;return true;}",
+ "style": "body {height: auto !important; overflow: auto !important;} #comicImages.fitVertical img {margin: 0 auto;display: block;max-height: calc(1000px - 41px);} .navbar-static-top {display: none;}",
+ "pager": {
+ "nextL": "js;if(window.imgIndex +1 >= our_galleryinfo.length){return}; document.getElementById('comicImages').insertAdjacentHTML('beforeend',`
`);window.imgIndex+=1;fun.pageNumIncrement();"
+ }
+ },
"MANGA1000": {
"host": "manga1000.top",
"url": "/^\\/\\d+\\/\\d+\\//",