[Greasemonkey] How can I play a local soundfile?

Bill Donnelly donnelly at snowcrest.net
Sun Mar 5 13:22:11 EST 2006


The JSLib extensions has a bunch of nice routines that do a lot
of nice things, some of them include sound. But, afaik, they must
be accessed in an extension, not a standard JS routine, the
category under which GmScripts fall.

I mentioned this library in a post once and inquired as to
whether it would be a good addition for Gm to use it and
no one replied.

You could use the GmScript-to-extension generator program to turn
your script into an extension and then you could use the sound
routines in this library.

Or, you could request a Gm feature addition to support calls to
the sound routines in this library. (which probably wouldn't occur,
ever, or in a long time, altho I've thought about adding it in
for me, and will let people know if I do that)

http://jslib.mozdev.org/



More information about the Greasemonkey mailing list