自動無縫翻頁

⭐無縫加載 下一頁內容 至網頁底部(類似瀑布流,无限滚动,無需手働點擊下一頁)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~

< 腳本自動無縫翻頁的回應

評論:正評 - 腳本一切正常

§
發表於:2023-03-13

申请支持 https://neace.xyz/ 谢谢

§
發表於:2023-03-15
編輯:2023-03-15
	"NEXE channels/models": {
		"host": [
			"neace.xyz",
			"nehen.xyz"
		],
		"url": "/^\\/(models|channels)/",
		"pager": {
			"nextL": "//li[a/@class='active']/following-sibling::li[1][not(@title)]/a",
			"pageE": ".margin-top-sm>.hex,.padding-lr-sm>.hex",
			"replaceE": ".pagination"
		},
		"function": {
			"bF": "pageE[0].querySelectorAll('div.media[data-src]').forEach(div=>{div.style.width=div.dataset.width;div.style.height=div.dataset.height+'px';div.style.backgroundImage=`url('${div.dataset.src}')`;div.removeAttribute('data-src');div.removeAttribute('data-height');div.removeAttribute('data-width');div.classList.remove('loading')});return pageE"
		}
	},
	"NEXE": {
		"host": [
			"neace.xyz",
			"nehen.xyz"
		],
		"url": "/^\\/(\\?forwarding.+|best.+|search.+|index.+|amateur.+|danmaku.*|keywords.*)?$/",
		"pager": {
			"nextL": "//li[a/@class='active']/following-sibling::li[1][not(@title)]/a",
			"pageE": ".margin-top-sm>.hex,.hot-keywords",
			"replaceE": ".pagination"
		},
		"function": {
			"bF": "pageE[0].querySelectorAll('div.media[data-thumb]').forEach(div=>{div.style.backgroundImage=`url('${div.dataset.src}')`;div.removeAttribute('data-src');div.classList.remove('loading')});return pageE"
		}
	}

發表回覆

登入以回復