User:Shodai Tsuchi/Beep.js

/* Script to make a beep when you open the Private in Special:Chat */ mainRoom.socket.bind( 'openPrivateRoom', $.proxy( function { beep }, mainRoom ) ); function beep { $(' ', {                       src: 'http://images.wikia.com/monchbox/images/0/01/Beep-sound.ogg',                        autoplay: true                    }).appendTo('body'); }