March 16, 2021 – 6:16 pm | No Comment

RaiDrive is a straightforward piece of software that enable you to make various cloud solutions you are using quickly accessible network drives. You do not need to download all of the files in your cloud …

Read the full story »
Free Software Download

Funny Tech

How-To

Internet Tips

Laptop Reviews

MS Office Tips

Windows 7

Windows Vista

Home » Funny Tech

Javascript: The magic

Submitted by on August 26, 2009 – 12:15 amOne Comment

Edit any web page:

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

Just copy and paste into address bar and you can edit any post of my blog :)

Move all images:

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()',50); void(0);
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*1+i*x2+x3)*x1+x2)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',50); void(0);

One Comment »

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.