lushnis
3.84D
V2EX  ›  问与答

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

  •  
  •   lushnis · Jul 12, 2012 · 4235 views
    This topic created in 5056 days ago, the information mentioned may be changed or developed.
    例如 V2EX 的未读提醒可以在 OS X 的 Notifications 中展现吗?虽然没有想到更有价值的例子。
    6 replies    1970-01-01 08:00:00 +08:00
    cloudream
        1
    cloudream  
       Jul 12, 2012
    不可以。但是Chrome有notification api
    shiny
        2
    shiny  
    PRO
       Jul 12, 2012
    可以用浏览器的通知功能,可以做到在Mountain Lion 的 Notifications 中显示
    lushnis
        3
    lushnis  
    OP
       Jul 12, 2012
    @shiny 谢谢,请问有详细的文档推荐吗?
    lushnis
        5
    lushnis  
    OP
       Jul 12, 2012
    貌似这里有一个 https://gist.github.com/2718897
    lushnis
        6
    lushnis  
    OP
       Jul 12, 2012
    @shiny 谢谢 :D
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1011 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 82ms · UTC 19:01 · PVG 03:01 · LAX 12:01 · JFK 15:01
    ♥ Do have faith in what you're doing.