AutoPager

Append the next page content to the bottom seamlessly (like a waterfall, Unlimited scrolling, no need to manually click on the next page)~

< Feedback on AutoPager

Review: Good - script works

§
Posted: 2023-03-13

申请 :https://www.imitui.com/

§
Posted: 2023-03-15
	"爱米推漫画 - 阅读": {
		"host": "www.imitui.com",
		"url": "if(fun.indexOF(/manhua\\/\\w+\\/\\d+\\.html$/)){setTimeout(()=>{let F=new DocumentFragment();chapterImages.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});let E=fun.getCSS('#images');E.innerHTML='';E.appendChild(F)},500);return true}",
		"style": ".img_land_prev,.img_land_next,#sider-left,#sider-right,p.img_info,.tc,.chapter-view + .w996,.chapter-view>div[style]:not([id]):not([class]){display:none !important}#images{min-height:6000px !important}#images>img{display:inline-block !important;min-height:400px;margin:0 auto !important;border:none !important;padding:0 !important;max-width:100% !important;height:auto !important;",
		"history": true,
		"pager": {
			"nextL": "js;if(nextChapterData.id>0)return nextChapterData.url",
			"pageE": "//script[contains(text(),'chapterImages')]",
			"insertP": ["body",3],
			"scriptT": 2,
			"interval": 4000,
			"scrollD": 4000
		},
		"function": {
			"aF": "let F=new DocumentFragment();chapterImages.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});fun.getCSS('#images').appendChild(F);"
		}
	},
	"爱米推漫画 - 分类页": {
		"host": "www.imitui.com",
		"url": "/^\\/(update|list|search)/",
		"blank": 3,
		"pager": {
			"nextL": "li.next>a",
			"pageE": "li.item-lg",
			"replaceE": "ul.pagination"
		}
	}

Post reply

Sign in to post a reply.