Sep 20 2008

few javascripts that can turn your browser really crazy

i was just surfing & found these javascripts. they are cool! & the great thing is that they work perfectly with firefox 3. i have mentioned in one of my earlier posts a javascript that can shake your browser. it works perfectly in IE & FF2 but not in FF3. but i have got one now that works with FF3 too. just copy & paste the following javascript in your address bar & hit enter. see your browser shaking madly:
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)

& the below two javascripts are for animating images of a website. use them when a site or blog with images is loaded in your browser & enjoy the floating animation of them.

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);

here is the other one:

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6;y3=.24; x4=300; y4=200; x5=300; y5=200; function mixit(){ DI2=document.getElementsByTagName(”img”); DIL2=DI2.length; for(j=0; j-DIL; j++){DIS2=DI2[j].style; DIS2.zIndex=200-Math.floor(Math.random()*100+1);} } function fuckup(){DI=document.getElementsByTagName(”img”); DIL=DI.length; 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(”fuckup()”,50); setInterval(”mixit()”,800);void(0);

TAGS:

LEAVE A COMMENT

Subscribe Form

Subscribe to Blog

Currently you have JavaScript disabled. In order to post comments, please make sure JavaScript and Cookies are enabled, and reload the page.

UBD Moneymaker Theme by Unique Blog Designs & Phillip van Coller