Advertisement
Hasif12345

Special script deface

Apr 21st, 2013
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1.  
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <link rel="SHORTCUT ICON" href="http://healyourhurt.com/wp-content/uploads/2012/01/brokenheart.png">
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8. <title>Hacked by Newbiez wAs hErE</title>
  9. <style type="text/css">
  10. <meta name="author" content="Angel Dot Id">
  11. <meta http-equiv="imagetoolbar" content="no">
  12. <embed src=""></embed><style type="text/css">
  13. html {
  14. overflow: hidden;
  15. }
  16. body {
  17. margin: 0px;
  18. padding: 0px;
  19. background: #111;
  20. position: absolute;
  21. width: 100%;
  22. height: 100%;
  23. }
  24. #screen {
  25. position: absolute;
  26. left: 0px;
  27. top: 0px;
  28. width: 100%;
  29. height: 100%;
  30. background: #000;
  31. }
  32. #SP {
  33. position: absolute;
  34. left: 50%;
  35. top: 50%;
  36. }
  37. #screen span {
  38. position: absolute;
  39. left: -1000px;
  40. overflow: hidden;
  41. }
  42. #screen img {
  43. position: absolute;
  44. -ms-interpolation-mode:nearest-neighbor;
  45. }
  46. #credit {
  47. position: absolute;
  48. color: #888;
  49. font-family: verdana, arial, helvetica, sans-serif;
  50. font-size: 0.8em;
  51. right: 1em;
  52. text-align: right;
  53. bottom: 2px;
  54. }
  55. a {text-decoration: none;color:#fff;}
  56. a:hover {text-decoration: none;background:#ff8000;color:#fff;}
  57. a:visited {text-decoration: none;color:#fff;}
  58. a:visited:hover {text-decoration: none;background:#ff8000;color:#fff;}
  59. </style>
  60. <script type="text/javascript">
  61. document.onselectstart = new Function("return false");
  62. var nx = 0;
  63. var ny = 0;
  64. var xm = 0;
  65. var ym = -1000000;
  66. var S = 0;
  67. var O = 0;
  68. var M = 10;
  69. var H;
  70. var W;
  71. var img;
  72. var scr;
  73. ////////////////////
  74. var RAD = 2;
  75. var Nx = 12;
  76. var Ny = 14;
  77. var visc = .01;
  78. ////////////////////
  79. function CObj(parent, x, y){
  80. var o = document.createElement("span");
  81. o.style.width = Math.round(W + 2) + 'px';
  82. o.style.height = Math.round(H + 2) + 'px';
  83. var i = document.createElement("img");
  84. i.src = img.src;
  85. i.style.left = Math.round(-x * W) + 'px';
  86. i.style.top = Math.round(-y * H) + 'px';
  87. o.appendChild(i);
  88. document.getElementById("SP").appendChild(o);
  89. x = -(Nx / 2) * W + (x * W);
  90. y = -(Ny / 2) * H + (y * H);
  91. this.obj = o.style;
  92. this.x = x;
  93. this.y = y;
  94. this.x0 = x;
  95. this.y0 = y;
  96. this.parent = parent;
  97. }
  98. CObj.prototype.anim = function () {
  99. this.dx = xm - this.x;
  100. this.dy = ym - this.y;
  101. var d = Math.sqrt(this.dx * this.dx + this.dy * this.dy);
  102. this.x = this.x - S / d * (this.dx / d) + (this.x0 - this.x) * visc;
  103. this.y = this.y - S / d * (this.dy / d) + (this.y0 - this.y) * visc;
  104. this.obj.left = Math.round(this.x) + 'px';
  105. this.obj.top = Math.round(this.y) + 'px';
  106. if(this.parent) this.parent.anim();
  107. }
  108. function run(){
  109. O.anim();
  110. }
  111. document.onmousemove = function(e){
  112. if (window.event) e = window.event;
  113. xm = (e.x || e.clientX) - scr.offsetLeft - nx;
  114. ym = (e.y || e.clientY) - scr.offsetTop - ny;
  115. }
  116. function resize(){
  117. nx = scr.offsetWidth * .5;
  118. ny = scr.offsetHeight * .5;
  119. }
  120. onresize = resize;
  121. onload = function(){
  122. img = document.getElementById("IMG");
  123. scr = document.getElementById("screen");
  124. resize();
  125. W = img.width / Nx;
  126. H = img.height / Ny;
  127. S = img.width * RAD;
  128. for(var y = 0; y < Ny; y++)
  129. for(var x = 0; x < Nx; x++)
  130. O = new CObj(O, x, y);
  131. setInterval(run, 16);
  132. }
  133.  
  134. </script>
  135. </head>
  136. <body oncontextmenu='return false;' onkeydown='return false;' onmousedown='return false;'>
  137. <div id="screen">
  138. <div id="SP"></div>
  139. <div id="credit">
  140. </div>
  141.  
  142.  
  143.  
  144. <img id="IMG" src="http://profile.ak.fbcdn.net/hprofile-ak-prn1/c65.0.410.410/s160x160/16663_103560872995022_5969955_n.jpg"alt="" style="visibility:hidden">
  145. </body>
  146. </script>
  147. <a href="http://www.uploadmusic.org"><object type="application/x-shockwave-flash" width="0"
  148. height="0"data="http://www.uploadmusic.org/musicplayer.swf?song_url=http://www.uploadmusic.org/MUSIC/4558681366367603.mp3&autoplay=true"><param name="movie"value="http://www.uploadmusic.org/musicplayer.swf?song_url=http://www.uploadmusic.org/MUSIC/4558681366367603.mp3&song_title=uploadmusic.org&autoplay=true"
  149. /></object>
  150. <center>
  151. <font size="8" color="red">I Love You Nurimierra ;)</font>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement