Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style type='text/css'>body,td,th{font-family:;font-size:18px;color:lime;}body{background-color:black;overflow:hidden;overflow-y:scroll;}#xbox{width:100%;position:fixed;bottom:0;left:0;height:70px;padding:5px;text-align:center;}#logo{top:0;float:center;z-index:1;opacity:0.9;}a:link{color:#FFFFFF;text-decoration:none;}a:active{color:#FFFFFF;text-decoration:none;}a:visited{color:#FFFFFF;text-decoration:none;}a:hover{color:#167c11;text-decoration:none;}</style>
- <script type="text/javascript">
- var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
- if (is_chrome || /Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ //test for MSIE x.x;
- }
- else {
- alert('Come back with Chrome or Firefox n00b');
- window.location = 'http://google.com';
- }
- </script>
- <script type="text/javascript">
- function $i(id) { return document.getElementById(id); }
- function $r(parent,child) { (document.getElementById(parent)).removeChild(document.getElementById(child)); }
- function $t(name) { return document.getElementsByTagName(name); }
- function $c(code) { return String.fromCharCode(code); }
- function $h(value) { return ('0'+Math.max(0,Math.min(255,Math.round(value))).toString(16)).slice(-2); }
- function _i(id,value) { $t('div')[id].innerHTML+=value; }
- function _h(value) { return !hires?value:Math.round(value/2); }
- function get_screen_size()
- {
- var w=document.documentElement.clientWidth;
- var h=document.documentElement.clientHeight;
- return Array(w,h);
- }
- var url=document.location.href;
- var flag=true;
- var test=true;
- var n=parseInt((url.indexOf('n=')!=-1)?url.substring(url.indexOf('n=')+2,((url.substring(url.indexOf('n=')+2,url.length)).indexOf('&')!=-1)?url.indexOf('n=')+2+(url.substring(url.indexOf('n=')+2,url.length)).indexOf('&'):url.length):512);
- var w=0;
- var h=0;
- var x=0;
- var y=0;
- var z=0;
- var star_color_ratio=0;
- var star_x_save,star_y_save;
- var star_ratio=256;
- var star_speed=5;
- var star_speed_save=0;
- var star=new Array(n);
- var color;
- var opacity=0.1;
- var cursor_x=0;
- var cursor_y=0;
- var mouse_x=0;
- var mouse_y=0;
- var canvas_x=0;
- var canvas_y=0;
- var canvas_w=0;
- var canvas_h=0;
- var context;
- var key;
- var ctrl;
- var timeout;
- var fps=0;
- function init()
- {
- var a=0;
- for(var i=0;i<n;i++)
- {
- star[i]=new Array(5);
- star[i][0]=Math.random()*w*2-x*2;
- star[i][1]=Math.random()*h*2-y*2;
- star[i][2]=Math.round(Math.random()*z);
- star[i][3]=0;
- star[i][4]=0;
- }
- var starfield=$i('starfield');
- starfield.style.position='absolute';
- starfield.width=w;
- starfield.height=h;
- context=starfield.getContext('2d');
- //context.lineCap='round';
- context.fillStyle='rgb(0,0,0)';
- context.strokeStyle='rgb(255,255,255)';
- }
- function anim()
- {
- mouse_x=cursor_x-x;
- mouse_y=cursor_y-y;
- context.fillRect(0,0,w,h);
- for(var i=0;i<n;i++)
- {
- test=true;
- star_x_save=star[i][3];
- star_y_save=star[i][4];
- star[i][0]+=mouse_x>>4; if(star[i][0]>x<<1) { star[i][0]-=w<<1; test=false; } if(star[i][0]<-x<<1) { star[i][0]+=w<<1; test=false; }
- star[i][1]+=mouse_y>>4; if(star[i][1]>y<<1) { star[i][1]-=h<<1; test=false; } if(star[i][1]<-y<<1) { star[i][1]+=h<<1; test=false; }
- star[i][2]-=star_speed; if(star[i][2]>z) { star[i][2]-=z; test=false; } if(star[i][2]<0) { star[i][2]+=z; test=false; }
- star[i][3]=x+(star[i][0]/star[i][2])*star_ratio;
- star[i][4]=y+(star[i][1]/star[i][2])*star_ratio;
- if(star_x_save>0&&star_x_save<w&&star_y_save>0&&star_y_save<h&&test)
- {
- context.lineWidth=(1-star_color_ratio*star[i][2])*2;
- context.beginPath();
- context.moveTo(star_x_save,star_y_save);
- context.lineTo(star[i][3],star[i][4]);
- context.stroke();
- context.closePath();
- }
- }
- timeout=setTimeout('anim()',fps);
- }
- function move(evt)
- {
- evt=evt||event;
- cursor_x=evt.pageX-canvas_x;
- cursor_y=evt.pageY-canvas_y;
- }
- function key_manager(evt)
- {
- evt=evt||event;
- key=evt.which||evt.keyCode;
- //ctrl=evt.ctrlKey;
- switch(key)
- {
- case 27:
- flag=flag?false:true;
- if(flag)
- {
- timeout=setTimeout('anim()',fps);
- }
- else
- {
- clearTimeout(timeout);
- }
- break;
- case 32:
- star_speed_save=(star_speed!=0)?star_speed:star_speed_save;
- star_speed=(star_speed!=0)?0:star_speed_save;
- break;
- case 13:
- context.fillStyle='rgba(0,0,0,'+opacity+')';
- break;
- }
- top.status='key='+((key<100)?'0':'')+((key<10)?'0':'')+key;
- }
- function release()
- {
- switch(key)
- {
- case 13:
- context.fillStyle='rgb(0,0,0)';
- break;
- }
- }
- function mouse_wheel(evt)
- {
- evt=evt||event;
- var delta=0;
- if(evt.wheelDelta)
- {
- delta=evt.wheelDelta/120;
- }
- else if(evt.detail)
- {
- delta=-evt.detail/3;
- }
- star_speed+=(delta>=0)?-0.2:0.2;
- if(evt.preventDefault) evt.preventDefault();
- }
- function start()
- {
- resize();
- anim();
- }
- function resize()
- {
- w=parseInt((url.indexOf('w=')!=-1)?url.substring(url.indexOf('w=')+2,((url.substring(url.indexOf('w=')+2,url.length)).indexOf('&')!=-1)?url.indexOf('w=')+2+(url.substring(url.indexOf('w=')+2,url.length)).indexOf('&'):url.length):get_screen_size()[0]);
- h=parseInt((url.indexOf('h=')!=-1)?url.substring(url.indexOf('h=')+2,((url.substring(url.indexOf('h=')+2,url.length)).indexOf('&')!=-1)?url.indexOf('h=')+2+(url.substring(url.indexOf('h=')+2,url.length)).indexOf('&'):url.length):get_screen_size()[1]);
- x=Math.round(w/2);
- y=Math.round(h/2);
- z=(w+h)/2;
- star_color_ratio=1/z;
- cursor_x=x;
- cursor_y=y;
- init();
- }
- document.onmousemove=move;
- document.onkeypress=key_manager;
- document.onkeyup=release;
- document.onmousewheel=mouse_wheel; if(window.addEventListener) window.addEventListener('DOMMouseScroll',mouse_wheel,false);
- </script>
- <title>H4CKED by MNH</title>
- <link rel="shortcut icon" href="http://dl.dropbox.com/u/48005575/hat_favicon.ico">
- <canvas id="starfield" style="background-color:#000000"></canvas>
- <div id="logo">
- <center> <p> </p>
- <p><font size="6" color="Red"><b>[</font><font size="6" color="#FFFFFF">!</font><font size="6" color="Red">]
- Struck by </font>
- </b></p>
- <p><font face="Georgia" color="#FFFFFF">
- <span style="font-size: 120pt; font-weight: 700">Dr.T3RRor No0b$ </span></font><br/>
- <font size="5" color="lime"> </font><br/>
- <font size="2" color="red">________________________________________________________________________________________________________</font><br>
- <br><font size="4" color="#FFFF00"><b>
- N@ob 5t4r | N00b 3Rr0R D@Nc3r | Dr.T3RR0r Noob$ | Noob Att@ck3r | H Noob | N00B H4x0R | K1DD13 Noob | No0b L3@rn3r | n0od 3ug
- </b></font><font size="5" color="white"><b><br></b>
- <font size="2" color="red">________________________________________________________________________________________________________</font><br><br></font>
- <font face="Impact">
- <b><font size="7" color="white">MYANMAR</font>
- <font size="7" color="#00B000">N00B</font></b></font>
- <b><font size="7" color="white" face="Impact">H4CKERS</font><br>
- </p></center>
- </div>
- <body onLoad="animate();start()" onresize="resize()" onorientationchange="resize()" onmousedown="context.fillStyle='rgba(0,0,0,'+opacity+')'" onmouseup="context.fillStyle='rgb(0,0,0)'">
- <script language=JavaScript type=text/javascript><!--// Method-5 animation script (compressed)
- /***** initialize global film variables ******/
- var frames = 31; // <---- total number of pictures in film
- var delay = 90; // <---- delay after each frame
- var color = "#66CCFF"; // <---- Color of cat
- var changecol = false; // <---- Randomly change color of cat? If true the cat will change colors if false the color of the cat will be the value of the color variable.
- var move_cat = true; // <---- Move cat? If true the cat will move side to side. If false the cat will stay in one place.
- var cat_fontsize = 10; // <---- In pixels
- /***** initialize anim screen position (in pixels) *****/
- var topp = 50; // <---- window position bottom
- var left = (move_cat)?-20:-10; // <---- window position left
- var width = 300; // <---- window width
- var height = 187; // <---- window height
- /***** initialize anim control variables *****/
- var posi = 0; // <---- actual picture position (frame counter)
- var prev = 1; // <---- previous picture number
- var run = true; // <---- boolean : true (?????) or !true (?????)
- /***** initialize style sheets ****/
- document.write("<" + "style type='text/css'><" + "!-- ");
- for (i = 0; i <= frames; i++) {
- if (move_cat) {
- left = left + 2;
- }
- document.write("#cat" + i + " {position:absolute; color:" + color + "; font-size:" + cat_fontsize + "px; left:" + left + "%; top:" + topp + "px; width:" + width + "px; height:" + height + "px; z-index:" + i + "; visibility:hidden}");
- }
- document.write("--" + "><" + "/style>");
- /******* animation module ******/
- function change_color() {
- var colors = new Array("#6C2DC7", "#00FFFF", "#00FF00", "#FFFF00", "#FF0000", "#FF00FF", "#1589FF", "#8D38C9", "#E3319D", "#6C2DC7", "#7E354D", "#736AFF", "#306754", "#E45E9D", "#000099", "#33CC00", "#25A0C5");
- var randomnum = Math.floor(Math.random() * 17)
- var random_color = colors[randomnum];
- for(i=0;i<=frames;i++) {
- if(i==0) {
- }
- else {
- document.getElementById('cat' + i).style.color = random_color;
- }
- }
- }
- function animate() {
- posi = posi + 1;
- if (posi > frames) {
- if (run) {
- if (changecol && move_cat) {
- setTimeout("animate2(posi-1, prev); change_color();", delay);
- } else if (changecol && !move_cat) {
- posi = 1;
- setTimeout("animate(); change_color();", delay);
- } else if (!changecol && move_cat) {
- setTimeout("animate2(posi-1, prev);", delay);
- } else if (!changecol && !move_cat) {
- posi = 1;
- setTimeout("animate();", delay);
- }
- }
- } else {
- document.getElementById("cat"+ prev).style.visibility = 'hidden';
- document.getElementById("cat"+ posi).style.visibility = 'visible';
- prev = posi;
- if (run) setTimeout("animate()", delay);
- }
- }
- function animate2(posi2, prev2) {
- posi = posi2 - 1;
- if (posi < 1) {
- if (run) {
- if (changecol) {
- setTimeout("animate(); change_color();", delay);
- } else {
- setTimeout("animate();", delay);
- }
- }
- } else {
- document.getElementById("cat"+ prev).style.visibility = 'hidden';
- document.getElementById("cat"+ posi).style.visibility = 'visible';
- prev = posi;
- if (run) setTimeout("animate2(posi, prev-1)", delay);
- }
- }
- //--></SCRIPT>
- <DIV id=cat1>
- <PRE>
- </PRE>
- </DIV>
- <embed
- <object width="0" height="0">param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param></object>
Advertisement
Add Comment
Please, Sign In to add comment