Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 03-26-2010, 09:10 PM   #1
Beta Member
 
Join Date: Mar 2010
Posts: 1
Default Nice Fun code

Simply copy and paste it into your search bar and EDIT ANY website!


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

TrojanHorse is offline   Reply With Quote
Old 03-27-2010, 04:11 AM   #2
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: Nice Fun code

That's pretty cool!
__________________

j03 is offline   Reply With Quote
Old 03-27-2010, 05:12 AM   #3
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: Nice Fun code

There's lots of these around You can paste any javascript you like in the address bar - so give it some thought and you should be able to come up with something yourself! (If you know how to code javascript that is.)

Have a look at this one (works better when there's lots of images on the page, google image search for example) :

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);
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 03-28-2010, 07:58 AM   #4
In Runtime
 
samueleen's Avatar
 
Join Date: Feb 2010
Posts: 127
Send a message via MSN to samueleen
Default Re: Nice Fun code

HAHAHA I love these little pointless things

Berry120's one is awesome!
__________________
HAHAHA My rep's in the red XD
samueleen is offline   Reply With Quote
Old 04-25-2010, 06:27 AM   #5
Beta Member
 
Join Date: Apr 2010
Posts: 3
Default Re: Nice Fun code

that pretty cool
only live is offline   Reply With Quote
Old 05-02-2010, 05:50 PM   #6
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Nice Fun code

thats cool, I bet it would be good to play around with things when you are designing a page
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 05-28-2010, 04:55 AM   #7
Baseband Member
 
Join Date: May 2010
Posts: 48
Default Re: Nice Fun code

Quote:
Originally Posted by TrojanHorse View Post
Simply copy and paste it into your search bar and EDIT ANY website!


javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0
Great sir. Please tell us more code like that.

Thanks:

Alex_tom
__________________

__________________
http://www.soniktechnologies.in/
http://www.samartha.net.in/
Alex_tom is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 05:14 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0