35

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.

4
  • 2
    @Lekensteyn fantastic! it works perfectly, you rock :) Jul 5, 2011 at 8:27
  • You need to restart your browser after installing
    – Anwar
    Aug 5, 2012 at 7:09
  • This appears to no longer work. The presets are broken since or.sstatic.net is no longer in use, and entering a url to an MP3 doesn't do anything. Everything just gives the default sound. May 6, 2015 at 20:30
  • I did some bug fixing to this and posted it on Github: github.com/murukeshm/SEChatSound. If you want, I'll transfer the repo to you. @SevenSidedDie test it out if you're still interested. I only tested on the latest Chrome.
    – muru
    Mar 15, 2016 at 4:34

1 Answer 1

5

I did some bug fixing to this and posted it on Github: https://github.com/muru/SEChatSound, and added more sounds. Modifications were only tested on recent versions of Google Chrome, and I don't know the media plugin that SE uses well enough to know if I broke anything.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .