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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Notificon: Client-side favicon notifications

41 点作者 rehashed超过 13 年前

5 条评论

tuxcanfly超过 13 年前
There's also a Notification API in HTML5<p><a href="http://www.html5rocks.com/en/tutorials/notifications/quick" rel="nofollow">http://www.html5rocks.com/en/tutorials/notifications/quick</a>
评论 #3060552 未加载
k33n超过 13 年前
Seems to not work if you use a .png instead of a .ico for your favicon.
评论 #3060667 未加载
rehashed超过 13 年前
This was inspired by the favicon notifications for gmail. I'll add an exception for clients without canvas, but it should be as fully compatible as is possible.
exogen超过 13 年前
Is this working for anyone? I don't see any favicon changes in Chrome or Safari.
评论 #3060655 未加载
评论 #3060831 未加载
评论 #3060562 未加载
评论 #3060568 未加载
fomojola超过 13 年前
Do you have an alternative URL: github appears to be down right now.
评论 #3060064 未加载