Post: Fun Javascript
12-02-2010, 01:16 PM #1
Genocide-
★GoML★
(adsbygoogle = window.adsbygoogle || []).push({}); Heres a a few fun codes when your bored.

Edit anything on the page
    javascript:document.body.contentEditable='true'; document.designMode='on'; void 0


Make your own alert
    javascript:alert("Your text here")


Pictures move left to right
    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(1);


Post below for what you have if you have your own cool javascript code.


Calculator
    javascript: alert(1+1);


Edit the numbers to your problem


Play asteroids on a page.
From DEREKTROTTER
    javascript:var%20s%20=%20document.createElement('script'Winky Winky;s.type='text/javascript';document.body.appendChild(s);s.src='https://erkie.github.com/asteroids.min.js';void(0);



Finding a spoofed site.
    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.");
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Genocide- for this useful post:

-Syed-, Car Lover, Masta-blasta117
12-02-2010, 01:55 PM #2
toppdogg93
S.P.E.C.I.A.L
nice thank man haha u got any more pm me
12-02-2010, 04:17 PM #3
Moved to computer hacking and coding.
12-05-2010, 12:33 PM #4
Car Lover
Family Guy FTW
Noobish question
where do u put the coding ??
12-05-2010, 02:11 PM #5
HEKTIC4LYF
Little One
Ye were u put it lol sorry
12-05-2010, 02:12 PM #6
gola
OVER 9000!
You put it into your url address
12-05-2010, 08:27 PM #7
Where do you put it in the address bar
12-05-2010, 08:32 PM #8
Tree
Clearly Outplayed
Haha this is great!
12-05-2010, 09:07 PM #9
Mysterion--
SwaggaDon.
Haha awesome! omg pictures from left to right is crazy! Dancing
12-18-2010, 11:05 AM #10
-Syed-
< ^ > < ^ >
Originally posted by Dr.Genocide View Post
Heres a a few fun codes when your bored.

Edit anything on the page
    javascript:document.body.contentEditable='true'; document.designMode='on'; void 0


Make your own alert
    javascript:alert("Your text here")


Pictures move left to right
    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(1);


Post below for what you have if you have your own cool javascript code.


Calculator
    javascript: alert(1+1);


Edit the numbers to your problem


Play asteroids on a page.
From DEREKTROTTER
    javascript:var%20s%20=%20document.createElement('script'Winky Winky;s.type='text/javascript';document.body.appendChild(s);s.src='https://erkie.github.com/asteroids.min.js';void(0);



Finding a spoofed site.
    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.");


is there anymore something like this because i love something like this so muchh.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo