Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send real growl messages with javascript?

Is it possible to post growl notifications to a user's computer, from a web application, using 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.

like image 396
Louis W Avatar asked Sep 18 '09 16:09

Louis W


People also ask

What is growl in Javascript?

Growl is a jQuery plugin designed to provide informative messages in the browser.

What is a growl message?

A Growl Notification is a Live Notification that appears when an Issue is assigned to your or when the tags of an Issue assigned to you are updated.


Video Answer


1 Answers

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.

like image 200
Adam Wright Avatar answered Sep 18 '22 11:09

Adam Wright