是否有用于跨浏览器桌面通知的 JavaScript 库? [英] Are there any JavaScript library for cross browser desktop notification?
问题描述
我知道 W3C 只是发布他们的 Web 通知草案版本来通知用户.因此,没有浏览器在其当前或最新版本的浏览器中实现此方法.
此外,如果我们将网站固定到 Windows 7 任务栏,我们也可以使用覆盖图标来通知用户. I know W3C just publish their draft version of Web Notification to notify user. So, there is no browser that implement this method in their current or latest build browser. After I search a lot of webs for finding all possible desktop notification in most browser.I found any 2 major browser that should support this. 1.Google Chrome and Webkit-based browser We can use native Desktop notification function to show message like the following picture. More infomation: The Chromium Projects - Desktop Notifications 2.Internet Explorer For IE 5.5+, we can use createPopup function to notify use like in Google Chrome but it's much flexible more that Google Chrome. More information: CreatePopup Method on MSDN Moreover, if we pin website to Windows 7 taskbar, we can use overlay icon to notify user too. More information: IE9, Site Specific Browsers, and adding your own Jump List Items to Pinned Tabs Other browser I think we can use Pines Notify jQuery plugin to create in-browser notification. Or do you have any desktop notification library or idea for suggesting me? Thanks, PS. If it does not have fine library, I will create it with myself. Update I Since IE8, it does not allow us to display popup outside current browser. For example, when IE is minimized, all popups are not displayed. So, Google Chrome is only one browser that has fully web notification API (FF 4 also has non-documented web notification API but it not work for now). These are some that I found: 这篇关于是否有用于跨浏览器桌面通知的 JavaScript 库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
(来源:
(来源:
(来源:>
(来源:
(source: google.com)
(source: google.com)
(source: google.com)
(source: microsoft.com)