3 ms·
Storing view time would make things easy, but might break on subthreads. You can probably just store all the comment ids in LocalStorage, and highlight comment
by mkl 5y ago
Storing view time would make things easy, but might break on subthreads. You can probably just store all the comment ids in LocalStorage, and highlight comments that aren't in that set before putting them in there (or maybe put them in there only when scrolled to/past).