Itaku -- Pagination

Paginate itaku.

作者
towai
今日安裝
0
安裝總數
1
評價
0 0 0
版本
2025-05-13
建立日期
2025-05-13
更新日期
2025-05-13
尺寸
1.2 KB
授權條款
MIT
腳本執行於

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.