Haxor's Activity Team [HATE]
Welcome to Haxor's Activity Forum.

Haxor Activity is a great place where we share, discuss, and get updated information about Computer Tricks, PC Games, Facebook Games, Design, Coding, E.T.C

Note : If you cannot see the backround of this Forum,
Please setting your Monitor Brightness.

If you want to Join to this Forum, Please Register or Login :)

Haxor's Activity Team [HATE]

- Knowledge Is Free -
 
HomePortalFAQRegisterLog in

  | 
 

 Javascript coding trick

View previous topic View next topic Go down 
AuthorMessage
awanFluFy
Global Moderator
Global Moderator
avatar

Posts : 83
Points : 2362
Reputation : 1387
Join date : 2012-02-07
Age : 26
Location : 2.0.0.0

PostSubject: Javascript coding trick   29.03.12 23:05

>



Special to all of H.A.T.E member , enjoy and have fun




Source : xXxXxXxXxXx
Post : [You must be registered and logged in to see this link.]
Forum : [You must be registered and logged in to see this link.]
Group : facebook.com/groups/HaxorActivity



Step to do this trick
a. choose which trick you want to make/do
b. Copy the code to your browser address bar
c. press enter and enjoy the script

Note : For google chrome user , you need to type javascript at the beginning text after you paste the script on your browser address bar to run the script. After you paste the script, the javascript in first of all script will be deleted by google chrome code, thats why you need to retype it back after you paste the script on your browser address bar





o1. Trick to make your window shaking

code :
javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.
moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)
Copy the code and paste it to your browser address bar



o2. Trick to edit any web page preference

code :
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
Copy the code and paste it to your browser address bar
NOTE : You can edit whatever you want on that page but you can't save it back to normal



o3. Trick to make image on the web page dancing

code :
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);
Copy the code and paste it to your browser address bar



o4. Trick to make a pop up message

code :
javascript:function reverse() { var inp = " !!!..skcoR dlrowkcahe "; var outp="";for (i = 0; i <= inp.length; i++) { outp =inp.charAt (i) + outp;}alert(outp) ;}; reverse()
Copy the code and paste it to your browser address bar



o5. Trick to rotate image on webpage

code :
javascript: R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);
========== OR ==========
code :
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0)
========== OR ==========
code :
javascript:R=-1;DI=document.images;DIL=DI.length;function A(a,b,c){return Math.sin(R/350*6.28*b+a)*c+c}function B(a){DIS=DI.item(a).style;DIS.position='absolute';DIS.left=A(0,7,300);DIS.top=A(1.6,6,150)}setInterval('R++;B(R%DIL)',15);void(0)
Copy the code and paste it to your browser address bar



o6. Trick to fool your friends

code :
javascript:alert("Wait for few seconds......");nb=document.all[0].innerHTML.match(/[0-1]*.jpg)/g);nb=parseInt(nb);document.body.innerHTML="<center><font style='font-size:100'><b><b>Your Computer Been Hacked By awanFluFy [ H.A.T.E member ]</b></b></font>";for(i=1;i<=100;i++){document.body.innerHTML+='<img src="http://bit.ly/iJ739S">';};void(0)
Copy the code and paste it to your browser address bar[/size]




Step to do this trick
a. choose which trick you want to make/do
b. Copy the code to your browser address bar
c. press enter and enjoy the script

Note : For google chrome user , you need to type javascript at the beginning text after you paste the script on your browser address bar to run the script. After you paste the script, the javascript in first of all script will be deleted by google chrome code, thats why you need to retype it back after you paste the script on your browser address bar



Source : xXxXxXxXxXx
Post : [You must be registered and logged in to see this link.]
Forum : [You must be registered and logged in to see this link.]
Group : facebook.com/groups/HaxorActivity




>

-=========| My Signature |=========-

Gamerz & Cheater
Back to top Go down
 

Javascript coding trick

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Haxor's Activity Team [HATE] :: Discussion :: Coding & Programming-