Honestly just hide it and be done. Unless you're going to keep a stateful cursor or something, there's no real consistent "next" item when next is a function of time. (Then there's other complexity, right? like showdead, /news using `p` vs. /newest using `n`, etc.) All the offsets stay the same.
There's no expectation that page 2 now is page 2 when I refresh. Just don't auto-refresh because I probably want to visit other links from the current page load.
Get the next available. Match it against the client's current list on thr screen. If it is not there, in-place replace with that one. If it's a dupe, try the next one. Everything client side like it's 2020 again.
There's no expectation that page 2 now is page 2 when I refresh. Just don't auto-refresh because I probably want to visit other links from the current page load.