低吼通知:如何从网站推送低吼通知? [英] Growl Notifications: How to push Growl notifications from a website?
问题描述
我想知道如何将桌面Growl通知从Web应用程序推送给Web应用程序的用户.如果可能的话,我想使用javascript,否则我会选择像Ruby或PHP这样的语言.
I'm wondering how I can push desktop Growl notifications from my web application to the user of my web application. I would like to use javascript, if possible, otherwise a language like Ruby or PHP would be my second choice.
您之前实现过类似的东西吗?怎么办?
Have you implemented something like this before? How can it be done?
推荐答案
您可以通过Javascript发送Growl通知(使用Flash可以作为辅助工具,但是那部分在幕后).这是一个测试页: http://www.growlforwindows.com/gfw/examples/js/
You can send Growl notifications from Javascript (with a bit of Flash as a helper, but that part is behind the scenes). Here is a test page: http://www.growlforwindows.com/gfw/examples/js/
请注意,该功能目前仅在Windows上有效-Mac上Growl的Javascript/Flash支持目前已中断,如下所示:
Note that this only currently works on Windows - the Javascript/Flash support in Growl on the Mac is currently broken as noted here: https://groups.google.com/forum/?fromgroups=#!topic/growl-development/BNF8tcUE1kM
这篇关于低吼通知:如何从网站推送低吼通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!