views:

637

answers:

3

Is it possible to post a growl notification to the user's computer with javascript? This will be only on an intranet application so security is not a major concern. Additionally it will be limited to only Mac users with Safari or Firefox.

Thanks.

+3  A: 

Growl has a network interface, and HTML 5 has Web Sockets, so in theory it might be possible entirely in JavaScript (when Web Sockets are implemented). More realistically, if your webserver is connected to the same network as your clients (i.e. can see and connect to their individual IP addresses), you could do an AJAX style callback to a script on the server that will make the network request.

Adam Wright
A: 

I use http://digitarald.de/project/roar/ for mootools

jQuery has one at http://projects.zoulcreations.com/jquery/growl/

Gordon Tucker
+1  A: 

Google Gears has an experimental support for Growl notifications.

kangax