Skip to main content
4 of 5
Copy edited.
Nathan Osman
  • 23.3k
  • 11
  • 61
  • 107

SE Chat custom notification sound

##Screenshot / Code Snippet

Screenshot

##About

Someone found the current *beep* sound annoying and asked for a way to change the sound. Such a feature did not exist, so I created this UserScript which adds a button next to the notification settings button. This button opens a popup which allows you to change the sound that will be played on activity. Four presets are available (including the current one). Currently, only MP3 files are supported.

###License

Following the figure in this licensing question, I decided to release it under the MIT/X11 license.

###Download

The current version is 1.0.0.0.

###Platform

In addition to the requirements for the audio notification, a modern browser with UserScript support is required. The UserScript was tested in:

  • Firefox 5
  • Chromium 12
  • Opera 11.50

##Contact Bugs and suggestions can be reported by commenting, or emailing me at [email protected].

##Code

The script is written in JavaScript using jQuery. Stack Exchange Chat works with MP3 files, supported by the Flash Player. Although jPlayer supports HTML5 <audio>, this is disabled by Stack Exchange.

Lekensteyn
  • 543
  • 3
  • 8