Itaku -- Pagination

Paginate itaku.

Author
towai
Daily installs
0
Total installs
0
Ratings
0 0 0
Version
2025-05-13
Created
2025-05-13
Updated
2025-05-13
Size
1.21 KB
License
MIT
Applies to

I found the default infinite scroll behavior on itaku to be pretty undesirable: if you have a lot of unread submissions, your options are:

  • read all of them in one go.
  • accept losing some or all of a page when you decide to stop scrolling.
  • uncheck "hide already checked submissions" and scroll all the way back when you want to continue.
    • Having a lot of submissions loaded can have performance implications, and if you're really backed up, this can take a while.
  • scroll very, very carefully over the last submission on the page and open it in a new tab to view it properly.
    • This risks triggering the next page load anyway.

The site already has a perfectly functional "load more" button at the bottom of the page, for goodness' sake; you just can't ever use it by default and usually won't even see it.

Until itaku makes infinite scroll optional, this patches out the event callback that makes the next page load automatically, giving control back to you. Itaku, i love you, but please. Pagination is all i want in life.