HN: style unread content

Save hashes of displayed comments locally and mark new ones when displayed for the first time

Устаревшая версия за 23.10.2023. Перейдите к последней версии.

Автор
myf
Оценки
0 0 0
Версия
1.1.1
Создано
25.03.2021
Обновлено
23.10.2023
Размер
6,9 КБ
Лицензия
нет данных
Работает на

Initial explorative experiment; works but I am not sure about resources cost.

Saves hashes of once displayed items at The Orange Site to localStorage and highlights those displayed for the first time. (Each displayed post link and comment gets 28 bytes long SHA-1 hash when stays in viewport for 900 ms.)

Useful for tracking heavily branched discussion or spot new top post among others.