Play Tone

Function to play a sound file by adding an HTML5 audio tag to the document. ver 1.0 2014-09-07.

Author
Jefferson Scher
Daily installs
0
Total installs
71
Ratings
0 0 0
Version
1.0
Created
2014-09-07
Updated
2014-09-07
License
BSD 3-clause
Applies to
All sites

This proof of concept script was created in response to this forum thread: https://greasyfork.org/forum/discussion/1440/specific-text-on-search-page-play-audio-alert

TO USE: After installation, use the drop-down next to the monkey icon > User Script Commands > Play Tone

The script uses this sound file: http://soundbible.com/1815-A-Tone.html

(Want a funny sound? Try: http://soundbible.com/353-Goat.html)

Please do not use the file hosted on my server for any commercial or high volume application (since I might remove it to avoid bandwidth issues).