Skip to content

Instantly share code, notes, and snippets.

@theanosinar
Last active June 27, 2020 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save theanosinar/871ef948b260603e2033 to your computer and use it in GitHub Desktop.
Save theanosinar/871ef948b260603e2033 to your computer and use it in GitHub Desktop.
999dice rain and mega rain alarm
// ==UserScript==
// @name 999dice alert
// @namespace https://www.999dice.com/
// @version 0.1
// @description rain dan mega rain
// @author modded by theano(SINAR-19888787)
// @match https://www.999dice.com/
// @include https://www.999dice.com/
// @grant none
// ==/UserScript==
var rainalert = {};
rainalert = new Audio();
rainalert.src = "http://cd.textfiles.com/10000soundssongs/WAV/ALARM.WAV";
rainalert.volume = 0.5;
function soundz() {
rainalert.play();
}
$("#ChatTab").bind("DOMSubtreeModified",function(){
if($(this).children(2).children().find('.TextButton').length){ soundz(); }
});
@senzor69
Copy link

gg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment