Greasemonkey support - now available

45 views
Skip to first unread message

briandunnington

unread,
Jun 4, 2009, 1:43:40 PM6/4/09
to growl for windows
for those of you that havent been following the 'Pandora' thread - it
is now possible to write Greasemonkey scripts to add Growl
functionality to exisiting websites. initially, i created userscripts
for Pandora and Last.fm, but hopefully you guys will pick this up and
run with it.

to get started, you must have the latest (v1.1) Firefox Growl/GNTP
extension installed. it is available here: https://addons.mozilla.org/en-US/firefox/addon/11611

next, you can grab the Pandora or Last.fm Greasemonkey scripts from
userscripts.org:

PandoraGrowl - http://userscripts.org/scripts/show/50821
LastFMGrowl - http://userscripts.org/scripts/show/50822


and if you want to write your own Greasemonkey scripts, the source
code for either of those should get you pointed in the right
direction. essentially, as long as you can hook into the event you
want to be alerted on, a simple function call after that will handle
sending the notification for you.

if anybody does create some new userscripts, please post them up so we
can check them out. and if you have any questions or hit any snags,
dont hesitate to ask - this is all pretty new stuff so there might be
some kinks left to work out.

briandunnington

unread,
Jun 4, 2009, 2:27:26 PM6/4/09
to growl for windows
i know there is already an excellent GmailGrowl notifier (which i
use), but i wanted to see how hard it would be to create a
Greasemonkey script to do something similar, so i whipped one up. it
took about 5 minutes, most of which was figuring out how to tell if
you had new mail or not. so far it only alerts you to how many unread
emails you have (doesnt loop through them and notify you of who they
are from or the subject), but it was really easy to create. i suspect
a lot of people can come up with a lot of ideas for how this could be
used on all kinds of sites.

alright, i am done writing Greasemonkey scripts for today - i will
leave the rest of the fun up to you guys. post up if you create
something cool.


On Jun 4, 10:43 am, briandunnington <briandunning...@gmail.com> wrote:
> for those of you that havent been following the 'Pandora' thread - it
> is now possible to write Greasemonkey scripts to add Growl
> functionality to exisiting websites. initially, i created userscripts
> for Pandora and Last.fm, but hopefully you guys will pick this up and
> run with it.
>
> to get started, you must have the latest (v1.1) Firefox Growl/GNTP
> extension installed. it is available here:https://addons.mozilla.org/en-US/firefox/addon/11611
>
> next, you can grab the Pandora or Last.fm Greasemonkey scripts from
> userscripts.org:
>
> PandoraGrowl -http://userscripts.org/scripts/show/50821
> LastFMGrowl  -http://userscripts.org/scripts/show/50822

Rory OKelly

unread,
Jun 5, 2009, 4:21:13 AM6/5/09
to growl-fo...@googlegroups.com
Woohoo! Just wrote my first piece of javascript to send a Growl Message! It's a good feeling...

When I get more time at the weekend I'm going to start doing greasemonkey scripts for everything!

Christo

unread,
Jun 5, 2009, 7:10:32 AM6/5/09
to growl for windows
Can anybody direct me to where I might be able to learn how to write a
notifier for google reader? Any help would be appreciated. Thanks!

On Jun 5, 4:21 am, Rory OKelly <ror...@gmail.com> wrote:
> Woohoo! Just wrote my first piece of javascript to send a Growl Message!
> It's a good feeling...
>
> When I get more time at the weekend I'm going to start doing greasemonkey
> scripts for everything!
>
> On Thu, Jun 4, 2009 at 7:27 PM, briandunnington
> <briandunning...@gmail.com>wrote:

Rory OKelly

unread,
Jun 5, 2009, 9:20:05 AM6/5/09
to growl-fo...@googlegroups.com
I was looking into that this morning, let me know if you find anything (or post your script if successful!)

briandunnington

unread,
Jun 5, 2009, 10:59:28 AM6/5/09
to growl for windows

On Jun 5, 4:10 am, Christo <christopc...@gmail.com> wrote:
> Can anybody direct me to where I might be able to learn how to write a
> notifier for google reader? Any help would be appreciated. Thanks!
>

here is a good place to start: http://userscripts.org/scripts/review/47063

Christo

unread,
Jun 11, 2009, 3:25:05 PM6/11/09
to growl for windows
This was on lifehacker- http://lifehacker.com/5287152/yip-adds-notifications-to-web-applications
. Do you think it could work with the Growl extension?

On Jun 4, 1:43 pm, briandunnington <briandunning...@gmail.com> wrote:
> for those of you that havent been following the 'Pandora' thread - it
> is now possible to write Greasemonkey scripts to add Growl
> functionality to exisiting websites. initially, i created userscripts
> for Pandora and Last.fm, but hopefully you guys will pick this up and
> run with it.
>
> to get started, you must have the latest (v1.1) Firefox Growl/GNTP
> extension installed. it is available here:https://addons.mozilla.org/en-US/firefox/addon/11611
>
> next, you can grab the Pandora or Last.fm Greasemonkey scripts from
> userscripts.org:
>
> PandoraGrowl -http://userscripts.org/scripts/show/50821
> LastFMGrowl  -http://userscripts.org/scripts/show/50822

briandunnington

unread,
Jun 11, 2009, 3:51:12 PM6/11/09
to growl for windows
looks very similar - i left them a comment regarding adding support
for Growl for Windows. if you guys would like to see it happen, leave
a comment over there with your support so they get the message.

it should be easy enough for them to add support since i already have
Firefox-compatible code to handle the actual sending of the
notification that they can use.


On Jun 11, 12:25 pm, Christo <christopc...@gmail.com> wrote:
> This was on lifehacker-http://lifehacker.com/5287152/yip-adds-notifications-to-web-applications

Justin

unread,
Jul 6, 2009, 8:09:48 PM7/6/09
to growl for windows
I have created a script for Gmail that notifies you of Chats and
Emails received. Check it out at:

Gmail Growl for Windows - http://userscripts.org/scripts/show/53183

On Jun 11, 12:51 pm, briandunnington <briandunning...@gmail.com>
wrote:

Brian Dunnington

unread,
Jul 6, 2009, 8:40:40 PM7/6/09
to growl-fo...@googlegroups.com
nice work. works just as advertised.

the only suggestion i have is that you keep track of how many unread
emails were last alerted. otherwise, every X seconds, it keeps telling
me 'you have 1 new email', but it is just the same email that i havent
read yet. maybe you can only alert if the value has changed or
increased?

Justin

unread,
Jul 7, 2009, 7:52:26 PM7/7/09
to growl for windows
Thanks, Brian! That is a great idea. I have just submitted a new
version to address that. I was wondering, do you have an idea on how
to keep the new chat notifications from displaying every X seconds as
well? I am still trying to think of a way.

On Jul 6, 5:40 pm, Brian Dunnington <briandunning...@gmail.com> wrote:
> nice work. works just as advertised.
>
> the only suggestion i have is that you keep track of how many unread
> emails were last alerted. otherwise, every X seconds, it keeps telling
> me 'you have 1 new email', but it is just the same email that i havent
> read yet. maybe you can only alert if the value has changed or
> increased?
>
> On Mon, Jul 6, 2009 at 5:09 PM, Justin<janderso...@gmail.com> wrote:
>
> > I have created a script for Gmail that notifies you of Chats and
> > Emails received. Check it out at:
>
> > Gmail Growl for Windows -http://userscripts.org/scripts/show/53183
>
> > On Jun 11, 12:51 pm, briandunnington <briandunning...@gmail.com>
> > wrote:
> >> looks very similar - i left them a comment regarding adding support
> >> for Growl for Windows. if you guys would like to see it happen, leave
> >> a comment over there with your support so they get the message.
>
> >> it should be easy enough for them to add support since i already have
> >> Firefox-compatible code to handle the actual sending of the
> >> notification that they can use.
>
> >> On Jun 11, 12:25 pm, Christo <christopc...@gmail.com> wrote:
>
> >> > This was on lifehacker-http://lifehacker.com/5287152/yip-adds-notifications-to-web-applications
> >> > . Do you think it could work with the Growl extension?
>
> >> > On Jun 4, 1:43 pm, briandunnington <briandunning...@gmail.com> wrote:
>
> >> > > for those of you that havent been following the 'Pandora' thread - it
> >> > > is now possible to writeGreasemonkeyscripts to add Growl
> >> > > functionality to exisiting websites. initially, i created userscripts
> >> > > for Pandora and Last.fm, but hopefully you guys will pick this up and
> >> > > run with it.
>
> >> > > to get started, you must have the latest (v1.1) Firefox Growl/GNTP
> >> > > extension installed. it is available here:https://addons.mozilla.org/en-US/firefox/addon/11611
>
> >> > > next, you can grab the Pandora or Last.fmGreasemonkeyscripts from
> >> > > and if you want to write your ownGreasemonkeyscripts, the source

Brian Dunnington

unread,
Jul 7, 2009, 10:09:47 PM7/7/09
to growl-fo...@googlegroups.com
On Tue, Jul 7, 2009 at 4:52 PM, Justin<jande...@gmail.com> wrote:
>
> Thanks, Brian! That is a great idea. I have just submitted a new
> version to address that. I was wondering, do you have an idea on how
> to keep the new chat notifications from displaying every X seconds as
> well? I am still trying to think of a way.

no ideas off the top of my head - i dont use chat through gmail (i
turned it off ages ago), so i am not even exactly sure how it reports
new chats to be honest. maybe i will play around with it and see what
i can think of.

thanks for creating and sharing your script - i use it all the time.

James Clare

unread,
Nov 20, 2013, 7:52:41 AM11/20/13
to growl-fo...@googlegroups.com
The LastFMGrowl didn't work for me, so I built my own "Last FM Growl JPC" http://userscripts.org/scripts/show/177220 I believe it works better (biased). It does only work on http://www.last.fm/listen/* and unusually when a song finishes it give 2 notices what was playing and what is now playing. Wasn't my intention but I like it. Used Firebug to find the right html, tested on pc and mac on firefox browser.
Reply all
Reply to author
Forward
0 new messages