It's More than a Technology blog...

Liked us?

Pin It

Coolest JavaScript Tricks and Hacks


Coolest JavaScript Tricks and Hacks
Today I will reveal some of the coolest JavaScript Codes which will help to be creative and give ur website a new wonder s of look and make your friends fooling all the way to Spoofing .:
How to Apply these Codes .: Just Copy the Code into the address bar after reading the description about what it does and what it pranks.
1. Website Editing : This code when applied will give you access to make any webpage editable hence giving you full control to change its logos, edit posts, make fun of that webpage and lots more but remember this is not permanent means that after you refresh you webpage this code will not work and your will be back i.e you are not hacking alright, Copy this below code into the address bar after opening your website.


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


2. Image Dancing : This code will grab all the images from the webpage hence making them dance in the round manner and its really awesome when applied to the webpage full of images and portrait material. don’t use this trick copyrighted images because owner will not love watching his images dancing muhahhahahhaha. Just joking its again not permanent but really beautiful to be watched when applied in Google images section, same here copy when website loaded.
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);
 
3. The Calculator : If you don’t want to use the default calculator which Microsoft is providing with its (well does it sucks no no) as in just a case u can use this JavaScript to calculate your calculation by just entering it to address bar and providing values its really fast and good.
javascript: alert(34343+3434-222);
4. Find Spoofed Websites : As the name sounds it deals with a kind of hacking nature well this code will help you to find if the webpage is spoofed or not just enter this code on the website you wanna check it will give you 2 address if they does not match then the webpage is spoofed.
javascript:alert("The actual URL is:\t\t" + location.protocol + "//" + location.hostname + "/" + "\nThe address URL is:\t\t" + location.href + "\n" + "\nIf the server names do not match, this may be a spoof.");

Twitter Delicious Facebook Digg Stumbleupon Favorites More