Play Tone

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

As of 2014-09-07. See the latest version.

Author
Jefferson Scher
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

It uses this sound file: http://soundbible.com/1815-A-Tone.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).