Endless E-hentai Pages

View e-hentai searches, thumbnails, and images on a single endless page.

< 腳本Endless E-hentai Pages的回應

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

§
發表於:2017-03-15

Can I make the autoload deature full auto????

thanks for this code, how can I make the autoload full auto without input for like int (500), I dont really need other feature

§
發表於:2017-03-15
編輯:2017-03-15

BEN Bir türküm hile nasıl yapılıyo lann :smiley:

§
發表於:2017-07-12
編輯:2017-09-06

i sorta tweaked the script a bit to do this so that when you reach the end of the search results page the next page automatically loads. not sure if i am allowed to share this since it isn't my script, if the creator does not want me to let me know i'll delete this comment. i basically changed a few variables, added an if statement, and got rid of the if statements in get() leaving only the second part of it in. so~ this is what i changed:

change:
var wait = 1000
var auto = true;

add:
window.onscroll = function(ev) {
if ((window.innerHeight + window.pageYOffset) >= document.body.offsetHeight - 1 && currentPage.nextURL && ready) {
get();
}
};

change:
function get(){
var xhr = new XMLHttpRequest();
xhr.open("GET", currentPage.nextURL, true);
xhr.ontimeout = xhr.onerror = resume;
xhr.onload = function(){
currentPage = new page(xhr.responseText);
appendTo.appendChild(html2dom(currentPage.content));
currentPage.content = "";
if(currentPage.nextURL)
setTimeout(resume, wait);
else{
resume();
ready = false;
}
};
xhr.send();
}

probably caused a few bugs but at least i got auto auto :P

發表回覆

登入以回復