Advertisement
Keifanel

botnet kurwa

Aug 26th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. (function(nN) {
  2. var sound = $('<audio>').attr({
  3. src: 'http://localhost:8080/addons/notification.mp3',
  4. type: 'audio/ogg'
  5. })[0];
  6. var start = function() {
  7. sound.play();
  8. $('#musicButton').stop().animate({
  9. bottom: 0
  10. })
  11. };
  12. var stop = function() {
  13. sound.pause();
  14. sound.currentTime = 0;
  15. $('#musicButton').stop().animate({
  16. bottom: 0
  17. })
  18. };
  19. var button = $('<div>').attr({
  20. id: 'musicButton',
  21. tip: 'Wyłącz muzykę'
  22. }).css({
  23. position: 'absolute',
  24. bottom: 0,
  25. right: 0,
  26. width: 30,
  27. height: 30,
  28. textAlign: 'center',
  29. backgroundColor: 'black',
  30. color: '#6a6a6a',
  31. borderTopLeftRadius: '1em',
  32. lineHeight: '30px'
  33. }).click(stop).text('■').appendTo('body');
  34. newNpc = function(npc) {
  35. for (var i in npc) {
  36. if (npc[i].wt > 19) {
  37. start();
  38. break;
  39. }
  40. }
  41. return nN(npc);
  42. };
  43. })(newNpc);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement