Guest User

betacode.js - DECRYPTED

a guest
May 18th, 2015
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. SCRIPT DECRYPTED BY CRYPTOLOGIC_SEQUENCER
  2.  
  3. /** @type {Array} */
  4. var _0x783c = ["enterKey", "/suggest", "val", "#betaCode", "", "#CCC", "animate", "#FF0000", ".betaLabel", "post", "bind", "keyCode", "trigger", "keyup", "length", "#signal", '<source id="signal" src="/static/snd/stp.wav" type="audio/wav">', "after", "#music", "remove", "load", "#audio", "glyphicon glyphicon-volume-up", "addClass", "glyphicon-volume-off", "removeClass", "#mute", "volume", "audio", "getElementById", "glyphicon glyphicon-volume-off", "glyphicon-volume-up", "click", "glitch", ".form-group > label:nth-child(1)",
  5. ".jumbotron > blockquote:nth-child(3) > p:nth-child(1) > b:nth-child(1)", ".jumbotron > blockquote:nth-child(3) > p:nth-child(1)", ".jumbotron > blockquote:nth-child(3) > small:nth-child(4)", "#0000FF", ".blink", "readyState", "ws://live.skaia.io/ws", "onmessage", "data", "parse", "log", "a", "onclose", "setTimeout"];
  6. $(#betaCode)[bind](enterKey, function(dataAndEvents) {
  7. $[post](/suggest, {
  8. suggestion : $(#betaCode)[val]()
  9. }, function() {
  10. $(#betaCode)[val]();
  11. /** @type {number} */
  12. var _0xc003x2 = 0;
  13. for (;_0xc003x2 < 3;_0xc003x2++) {
  14. $(.betaLabel)[animate]({
  15. color : #FF0000
  16. })[animate]({
  17. color : #CCC
  18. });
  19. }
  20. });
  21. });
  22. $(#betaCode)[keyup](function(dataAndEvents) {
  23. if (dataAndEvents[keyCode] == 13) {
  24. $(this)[trigger](enterKey);
  25. }
  26. });
  27. /** @type {boolean} */
  28. var muted = false;
  29. /** @type {number} */
  30. var mute_clicks = 0;
  31. $(#mute)[click](function() {
  32. mute_clicks++;
  33. if (mute_clicks > 413 && (muted && $(#signal)[length] == 0)) {
  34. $(#music)[after](<source id="signal" src="/static/snd/stp.wav" type="audio/wav">);
  35. $(#music)[remove]();
  36. $(#audio)[load]();
  37. }
  38. if (muted) {
  39. /** @type {boolean} */
  40. muted = false;
  41. $(#mute)[removeClass](glyphicon-volume-off)[addClass](glyphicon glyphicon-volume-up);
  42. /** @type {number} */
  43. document[getElementById](audio)[volume] = 1;
  44. } else {
  45. /** @type {boolean} */
  46. muted = true;
  47. $(#mute)[removeClass](glyphicon glyphicon-volume-up)[addClass](glyphicon glyphicon-volume-off);
  48. /** @type {number} */
  49. document[getElementById](audio)[volume] = 0;
  50. }
  51. });
  52. $(#mute)[glitch]();
  53. $(.form-group > label:nth-child(1))[glitch]();
  54. $(.jumbotron > blockquote:nth-child(3) > p:nth-child(1) > b:nth-child(1))[glitch]();
  55. $(.jumbotron > blockquote:nth-child(3) > p:nth-child(1))[glitch]();
  56. $(.jumbotron > blockquote:nth-child(3) > small:nth-child(4))[glitch]();
  57. setInterval(function() {
  58. $(readyState)[animate]({
  59. color : .blink
  60. })[animate]({
  61. color : #CCC
  62. });
  63. }, 100);
  64. var butt = function() {
  65. /**
  66. * @return {undefined}
  67. */
  68. function open() {
  69. if (ws && ws[ws://live.skaia.io/ws] != 3) {
  70. return;
  71. }
  72. /** @type {WebSocket} */
  73. ws = new WebSocket(onmessage);
  74. /**
  75. * @param {?} dataAndEvents
  76. * @return {undefined}
  77. */
  78. ws[data] = function(dataAndEvents) {
  79. data = JSON[log](dataAndEvents[parse]);
  80. console[a](data);
  81. if (data[onclose]) {
  82. try {
  83. eval(data[onclose]);
  84. } catch (e) {
  85. }
  86. }
  87. };
  88. /**
  89. * @return {undefined}
  90. */
  91. ws[setTimeout] = function() {
  92. window[_0x783c[48]](open, 2E3);
  93. };
  94. }
  95. var ws;
  96. return{
  97. /**
  98. * @return {undefined}
  99. */
  100. skaia : function() {
  101. open();
  102. }
  103. };
  104. }();
Advertisement
Add Comment
Please, Sign In to add comment