HN: style unread content

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

Auteur
myf
Nombre d'installations quotidiennes
0
Nombre d'installations
12
Évaluations
0 0 0
Version
1.1.1
Créer
2021-03-25
Mis à jour
2023-10-23
Licence
S/O
S'applique à

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.