On Dec 20, 2008, at 10:35 PM, GeneZ wrote:

> the page i'm trying to tweak has a div element that changes its
> innerHTML every now and then..
> i want to know how i make an alert when the innerHTML contains a
> certain text...
>
> all i really need is the script to play a sound cuz i already know how
> to check the innerHTML.
> =)

You might have some luck injecting "SoundManager2" into your page
and use it to play sounds.

http://www.schillmania.com/projects/soundmanager2/

I've never tried this myself, would be happy to hear if you had any
success with it.

Dave


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to