napoleonu
V2EX  ›  V2EX

mark all as read

  •  
  •   napoleonu · Oct 3, 2010 · 5666 views
    This topic created in 5880 days ago, the information mentioned may be changed or developed.
    mark all as read,加个这个就好了。对于我这样的强迫症用户就方便了。。。。

    那个蓝色点的并不是像GOOGLE WAVE里面记录到数据库而是本地COOKIE吧,所以如果多台电脑浏览V2EX总有很多消除蓝色点的无意义操作。。。。。
    5 replies  •  1970-01-01 08:00:00 +08:00
    napoleonu
    napoleonu
    OP
    Oct 10, 2010
    1
    1.蓝色点显示未读条数而不是总条数有意义没?

    2.已读的条目存到数据库会不会压力很大?存到COOKIE之后一分钟做一次同步做折中可不可行?

    3.Add star

    4.mute

    怎么我总往WAVE上想。。。。。。。。。。。。悲剧
    disinfeqt
    disinfeqt
    Oct 10, 2010
    2
    您对浏览器和前端技术了解太少了,而没有根据的猜测就是越来越不靠谱 =。=

    不是 cookie,是 a:visited。
    不得不说 @livid 的这个实现方式让我大跌眼镜,不过倒也轻巧方便,但是局限性显而易见,估计早晚是要改进的罢。
    napoleonu
    napoleonu
    OP
    Oct 10, 2010
    3
    http://www.v2ex.com/t/2339 看完这个。。我之前没了解。。。。。
    napoleonu
    napoleonu
    OP
    Oct 10, 2010
    4
    这样一来0,1,2条还真是。。。。。
    chone
    chone
    Oct 10, 2010
    5
    像 @disinfeqt 说的那样是用的a:visited
    这个只是一种轻便的实现,如果不需要同步或者不用IE倒也够用了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1512 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 06:48 · PVG 14:48 · LAX 22:48 · JFK 01:48
    ♥ Do have faith in what you're doing.