HN: style unread content

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

07.10.2021 itibariyledir. En son verisyonu görün.

Yazar
myf
Değerlendirmeler
0 0 0
Versiyon
1.0.5
Oluşturulma
25.03.2021
Güncellenme
07.10.2021
Size
3,86 KB
Lisans
N/A
Geçerli

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.