Greasy Fork is available in English.
Loads more pixiv pages as you scroll down.
< Opiniones de Endless Pixiv Pages
Seems to be working fine for me. What kinds of pages are broken for you?
Same issue here. Not sure if this is helpful but I get this https://a.safe.moe/xkTJ6.png on https://www.pixiv.net/bookmark_new_illust.php for example but not on https://www.pixiv.net/new_illust.php
I've updated the script to fix /bookmark_new_illust.php and /response.php. Any others?
Seems broken again on https://www.pixiv.net/bookmark_new_illust.php
Thank you for the update. The page loading issue has already been fixed. However, images on the added page at /bookmark_new_illust.php are not displayed. If I recalled correctly, this issue only happened recently (two or three days ago).
Thank you for the update. The page loading issue has already been fixed. However, images on the added page at /bookmark_new_illust.php are not displayed. If I recalled correctly, this issue only happened recently (two or three days ago).
Can confirm. I just installed for the first time right before posting and images from the next loaded page on https://www.pixiv.net/bookmark_new_illust.php don't appear, while those from other pages still do.
Dunno what the prob with the absent imgs on pages(wrong ajax call/parse?), but here some simplification for you code (it would be much easier if you have this script on GitHub):
-----------------------------------------------------------
function getNextPage(pager)
{
let links = document.querySelectorAll('span.next a._button');
if (links.length == 0 || links[1]===undefined || links[1].getAttribute("rel") != "next")
return null;
else
return links[1].href;
}
-----------------------------------------------------------
Don't sure if [links[1].getAttribute("rel") != "next")] check is needed, if there is no next page - than there is no such a button ([links[1]===undefined] check), but left it just in case.
Note that currently(and usually) there are no arts 'img' tags from pixiv only page(there are few icons with this tag), or it's created by yours script(haven't read it meticulously)? Than ok. Otherwise, note that link to image can be at DIV(not 'img') 'a[href*="member_illust.php?mode=medium&illust_id="] > div:empty' as well in 'src' property as in 'background-image' css property(nowadays case, use /*current_img_DIV*/.style.backgroundImage.slice(5,-2);).
Too bad I cant parse next page myself yet, but I hope this will come in handy)
The script stops working as of today (26/12/2017) maybe due to pixiv update
As the title says, i want to report that this super useful script has stopped functioning as of the time of writing (26/12/2017) alongside many other scripts concerning automatic page loading. This may be due to some changes from pixiv itself.