0% found this document useful (0 votes)
412 views

Javascript Tricks

This document provides several JavaScript codes that can be used to modify web pages in various ways. Some examples include editing any web page, creating pop-up boxes, animating images on a page to spin like a wheel, running a simple calculator, bypassing multi-upload waiting times, and playing a shooting game embedded on any webpage. The codes can be copied and pasted into the browser address bar or run directly on a page to activate the script.

Uploaded by

Selva Ganesh
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
412 views

Javascript Tricks

This document provides several JavaScript codes that can be used to modify web pages in various ways. Some examples include editing any web page, creating pop-up boxes, animating images on a page to spin like a wheel, running a simple calculator, bypassing multi-upload waiting times, and playing a shooting game embedded on any webpage. The codes can be copied and pasted into the browser address bar or run directly on a page to activate the script.

Uploaded by

Selva Ganesh
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Some Cool java scripts :

Edit any web page


When you paste the below script in the address bar after opening any website, it will let you to edit
the web page of your wish...

CODE

javascript: document.body.contentEditable = 'true'; document.designMode


= 'on'; void 0

 A never ending pop up box


As soon as you execute this script it opens n number of pop up windows which cannot be stopped
untill you restart the browser

CODE

javascript:while(1){alert('Restart your brower to close this box!')}

 This one is cool;

Image wheel
When ever you run this script on any web page it animates all the images on the page and swirl as a
whell..

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);
Calculator
Run this script and find your mathematical values

CODE

javascript: alert(34343+3434);

*Note* : Change the computing values as your wish but with in the braces..

Multiupload waiting time bypass


Enter this script and execute to shut the countdown of the multiupload site wait time..

CODE

javascript:alert(document.getElementById('downloadcounter').style.displa
y = 'none');alert(document.getElementById('downloadlink').style.display
= '');

This one is the top,

Play game on any web page


Just run this script on any web page and play shooting game..

CODE

javascript:var%20s%20=
%20document.createElement('script');s.type='text/javascript';document.bo
dy.appendChild(s);s.src='http://erkie.github.com/asteroids.min.js';void(
0);

You might also like