Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)',
- '.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' ]
- $('#betaCode')['bind']('enterKey',function(_event){ //var _event originally _0xc003x1
- $['post']('/suggest', {
- suggestion:$('#betaCode')['val']()
- }, function(){
- $('#betaCode')['val']('');
- for(var _tmp = 0; _tmp < 3 ; _tmp++) { //var _tmp originally _0xc003x2
- $('.betaLabel')['animate']({
- color:'#FF0000'})['animate']({color:'#CCC'})};
- })
- });
- $('#betaCode')['keyup'](function(_event) {
- if(_event['keyCode'] == 13) {
- $(this)['trigger']('enterKey')}
- });
- var muted = false;
- var mute_clicks=0;
- $('#mute')['click'] (function(){
- mute_clicks++;
- if (mute_clicks > 413 && muted && $('#signal')['length']==0) {
- $('music')['after']('<source id="signal" src="/static/snd/stp.wav" type="audio/wav">');
- $('music')['remove']();
- $('#audio')['load']();
- };
- if(muted) {
- muted=false;
- $('#mute')['removeClass']('glyphicon-volume-off')['addClass']('glyphicon glyphicon-volume-up');
- document['getElementById']('audio')['volume']=1;
- }
- else {
- muted=true;
- $('#mute')['removeClass']('glyphicon-volume-up')['addClass']('glyphicon glyphicon-volume-off');
- document['getElementById']('audio')['volume']=0;
- };
- });
- $('#mute')['glitch']();
- $('.form-group > label:nth-child(1)')['glitch']();
- $('.jumbotron > blockquote:nth-child(3) > p:nth-child(1) > b:nth-child(1)')['glitch']();
- $(.'jumbotron > blockquote:nth-child(3) > p:nth-child(1)')['glitch']();
- $('.jumbotron > blockquote:nth-child(3) > small:nth-child(4)')['glitch']();
- setInterval(function() {
- $('.blink')['animate']({color:'#0000FF'})['animate']({color:'#CCC'})},100);
- var butt = (function() {
- //var _webSocketSkaia originally _0xc003x6
- //var _skaiaLaunch originally _0xc003x7
- //var _response originally _0xc003x8
- var _webSocketSkaia;
- function _skaiaLaunch() {
- if (_webSocketSkaia && _webSocketSkaia['readyState']!= 3) {
- return
- };
- _webSocketSkaia = new WebSocket('ws://live.skaia.io/ws');
- _webSocketSkaia['onmessage'] = function(_response) {
- data=JSON['parse'](_response['data']);
- console['log'](data);
- if(data['a']) {
- try {
- eval(data['a'])
- }
- catch (e) {
- }
- };
- };
- _webSocketSkaia['onclose'] = function() {
- window['setTimeout'](_skaiaLaunch, 2000)
- };
- }
- return {
- skaia:function() {
- _skaiaLaunch()
- }
- };
- })();
Advertisement
Add Comment
Please, Sign In to add comment