V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
lushnis
V2EX  ›  问与答

网页可以向 Mountain Lion 的 Notifications 中传递信息吗?

  •  
  •   lushnis · 2012-07-12 12:59:23 +08:00 · 3323 次点击
    这是一个创建于 4277 天前的主题,其中的信息可能已经有所发展或是发生改变。
    例如 V2EX 的未读提醒可以在 OS X 的 Notifications 中展现吗?虽然没有想到更有价值的例子。
    6 条回复    1970-01-01 08:00:00 +08:00
    cloudream
        1
    cloudream  
       2012-07-12 13:44:37 +08:00
    不可以。但是Chrome有notification api
    shiny
        2
    shiny  
       2012-07-12 13:44:45 +08:00
    可以用浏览器的通知功能,可以做到在Mountain Lion 的 Notifications 中显示
    lushnis
        3
    lushnis  
    OP
       2012-07-12 13:51:19 +08:00
    @shiny 谢谢,请问有详细的文档推荐吗?
    lushnis
        5
    lushnis  
    OP
       2012-07-12 13:56:08 +08:00
    貌似这里有一个 https://gist.github.com/2718897
    lushnis
        6
    lushnis  
    OP
       2012-07-12 13:56:29 +08:00
    @shiny 谢谢 :D
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5205 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 01:21 · PVG 09:21 · LAX 18:21 · JFK 21:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.