3 Cool Javascript Hacks

Are you ready to learn some hacking? If yes, here are the 3 cool javascript tricks that you can try out now. To perform the hack, you need to copy and paste the javascript code on the address bar of your web browser. Make sure you clear the address bar first before pasting. Once paste, hit Enter.

Javascript Hack 1 : Edit Any Webpage

The code :

Now, you can edit any webpage that you like. See how my blog became the best tech blog on the net.

My Tech Quest The Best Tech Blog

Javascript Hack 2 : Make Image Dance

The code :

Look at the screenshot, see the Firefox wallpapers dancing on Google Image’s search page.

Javascript Hack Image Dancing

Javascript Hack 3 : Reveal Passwords Under Asterisks

The code :

Without using any software, you can reveal your password hidden under the asterisks on your browser with this javascript hack. After pasting the code, a dialog box will prompt and reveal your password. Example as shown in the screenshot below.

Javascript Hack Recover Lost Password

Steve Yu is a technology blogger with seven years blogging experience under his belt. He is the founder of MyTechQuest.com or just MTQ.
  • http://www.niharsworld.com Nihar
  • http://www.bluecirclet.com/ ameo

    cool tips ,
    would try that for sure

    ameos last blog post..Social Networks Stress

  • http://tricks2trick.blogspot.com/ htRULZ
  • http://www.shaneomoore.com/ shaneiadt

    I’m looking for some new JavaScript to play with, seen and played with these before…but nonetheless i still love them :)

    JS is a great language to know, but it’s a tough one to get to grips with at the beginning.



  • Montana

    The second hack is not working in my Internet Explorer browser.

  • http://www.google.ch Hackman

    Here is the right code for the second point:

    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);

    much fun!


  • http://youtube.com/ThePayneofDeath PayneofDeath

    Dude why cant I do it? is it my java or what? I cant change anything!!!! i used the java script stuff! and Last time it works! maybe thats becauze of updating it?

  • http://youtube.com/showman012 DD

    that is not the right code this is:

    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);

  • hi

    cn u tell me wer to paste it?

  • hi

    the third code wen i entered it it said check the spelling and try again .plz help me

  • http://mylifeisaverage.com me2

    # 3 didnt work at all watsoever it didnt do anything

  • http://aim.com trell

    i really like hack one!!! i tricked my mother thinking people changed Youtube!

  • http://www.dreamboxth.com/ dreambox

    I like first. he he he
    .-= Check out dreambox´s latest blog post ..Speed Test ????????????? adsl =-.

  • Nony-kun

    Whats the code to move text around?

  • helppp

    The second and third hacks don’t work. can you help me?

  • http://www.India-always-great.blogspot.com Harry

    Hey Where To Write These Scripts!

  • http://gmail kiran

    Dude I was not able to use 3rd tip, please explain wit example to use the 3rd script

  • lewy

    none of them are right…

  • shiva

    i m not getting java hacking code to copy images from any locked album in orkut profile…
    plz help me……

  • http://gratinum.blogspot.com Jayant

    how to do these??I can’t make them work……nothing showing at all

  • allspark

    Hey Where To Write These Scripts!

  • http://mytechquest.com rao saqib

    that is not the right code this is:

    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);

  • http://st.margareth.webs.com Francis the hacker

    @allspark @jayant put the codes to your address bar and hit enter thats it! =)

  • anonymous

    change the ‘img to ‘a’ or ‘p’ and see what happens :-)

  • http://mytechquest.com/internet/3-cool-javascript-hacks/ Roert

    None of these work on Firefox, i used them before and they work on Google chrome

  • tom

    these tricks are not working in firefox

  • Pingback: Katamari Javascript Hack for Google Chrome | My Tech Quest()

  • mnbvcxzl90

    This is not hacking, this is simply messing with javacode, it only changes what you see for your browser. :l

  • http://arunjupaka.blogspot.com arun

    not working anymore

  • http://thc.webs.com Fox

    yes these are cool js codes, but i hape you all understand these arent hacks. scripts arent hacks. btw heres the script that makes your screen shake like an earth quake (i think you can only have one tab up or something its kind of moody)
    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)

  • JamesBond

    There is a much easier way to perform the password trick (not hack!!!)
    click on the password box you want to see the go to address bar and type/paste:


    Remember: it is important that you click on the password box before you type it in because the code is not getting the value of the box
    it is getting the value of the last-clicked-on element so you must make the password box the last-clicked-on element

  • Brennon

    how do you make hack 1

  • s0nam

    hy pls help me guys can anyone give me script of hacking passwrd  of http://www.mig33.com if any one then pls email me at sonam.shrestha81@yahoo.com << pls i will bee thank fulll i trying more and more to hack mig33 ids but i cant so pls help meh guys

  • Guest

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

    Is the best one ever!