Geeky web tricks to impress nobody

Want to irritate your friends and workmates? Why not copy and paste these javascript codes into the address bars of websites on their computers? For best results, try web pages with lots of graphics:

Copy and paste this code in its entirety into the address bar of a web browser to make it shake:

javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i–) {for (j = n; j > 0; j–) {self.moveBy(1,i) ;self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)

Copy and paste this one to send the graphics for a spin. (Guaranteed to upset the hungover):

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;*y1+i*y2+y3)*y4+y5}R++}setInterval(‘A()’,5); void(0);

This code is an inbuilt calculator. Just replace the numbers in the code for different calculations:

javascript: alert(12345+1234-123);

Supercool code allows you to edit a website, but does not change the website for anyone else:

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