TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do the new Gmail browser-powered desktop notifications work?

1 点作者 stefanobernardi超过 14 年前
So Google has just soft launched a new feature for Gmail: http://techcrunch.com/2011/01/26/browser-powered-desktop-notifications-are-coming-to-gmail/<p>I'm wondering how does this actually work? Can I build it for my apps too?<p>Thanks in advance

2 条评论

mopoke超过 14 年前
It uses "Web Notifications". You can read the draft spec here: <a href="http://dev.w3.org/2006/webapi/WebNotifications/publish/" rel="nofollow">http://dev.w3.org/2006/webapi/WebNotifications/publish/</a>
chapel超过 14 年前
Here is a StackOverflow question with a good answer: <a href="http://stackoverflow.com/questions/2271156/chrome-desktop-notification-example" rel="nofollow">http://stackoverflow.com/questions/2271156/chrome-desktop-no...</a>