1337 b04rd h4x

Talk about anything that doesn't fit anywhere else on the forum.
Post Reply
User avatar
Kamekku
Angel
Angel
Reactions:
Posts: 330
Main character: Kamekku

1337 b04rd h4x

Post by Kamekku »

Copy and paste into url and hit enter:
javascript:var colorinterval;var num=0;var num1=0;var num2=0;var num3=0;var rr,gg,bb;function startup(){colorinterval = setInterval("colorchange()", 50);}function colorchange(){if (num<=30) {num1+=10;if(num1>=255){num1=255;}}else{if (num<=60) {num2+=10;if(num2>=255){num2=255;}}else{if (num<=90) {num1-=10;if(num1<=0){num1=0;}}else{if (num<=120){num3+=10;if(num3>=255){num3=255;}}else{if (num<=150){num2-=10;if(num2<=0){num2=0;}}else{if (num<=180){num1+=10;if(num1>=255){num1=255;}}else{if (num<=210){num3-=10;num1-=10;if(num3<=0){num3=0;}if(num1<=0){num1=0;}}else{if (num>=210){num=1;}}}}}}}}rr = dec2hex(num1);gg = dec2hex(num2);bb = dec2hex(num3);document.body.style.backgroundColor = "#" + rr + gg + bb;num+=1;}function dec2hex(number){var hex_array=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F");var hext=0;var hexo=0;for(;number!=0;){if (number>=16){number-=16;hext+=1;}if (number<=15){number=0;hexo=number;}}number=hex_array[hext]+hex_array[hexo];return number;}startup();
Courtesy of a dude on another message board I go to whose username is barbarianbob.
Image
User avatar
Toff
Administrator
Administrator
Reactions:
Posts: 614
Main character: Toffxkun
Job: Magician
Location: U.M.N. Control Centre
Contact:

Re: 1337 b04rd h4x

Post by Toff »

*lol* Cool, really psychedelic! Ether must learn to write this kind of stuff.
If our children today don't have any dreams, we creators are guilty for not giving them dreams. We are culpable. We must create a dream to leave behind for the sake of our children.
-Hideo Kojima-
-----------------
A salvation is not to be given, it rises from deep inside us.
-Soraya Saga-
iAmTubbie
Archangel
Archangel
Reactions:
Posts: 903
Main character: iAmTubbie
Location: food court

Re: 1337 b04rd h4x

Post by iAmTubbie »

javascript:var colorinterval;var num=0;var num1=0;var num2=0;var num3=0;var rr,gg,bb;function startup(){colorinterval = setInterval("colorchange()", 50);}function colorchange(){if (num<=30) {num1+=10;if(num1>=255){num1=255;}}else{if (num<=60) {num2+=10;if(num2>=255){num2=255;}}else{if (num<=90) {num1-=10;if(num1<=0){num1=0;}}else{if (num<=120){num3+=10;if(num3>=255){num3=255;}}else{if (num<=150){num2-=10;if(num2<=0){num2=0;}}else{if (num<=180){num1+=10;if(num1>=255){num1=255;}}else{if (num<=210){num3-=10;num1-=10;if(num3<=0){num3=0;}if(num1<=0){num1=0;}}else{if (num>=210){num=1;}}}}}}}}rr = dec2hex(num1);gg = dec2hex(num2);bb = dec2hex(num3);document.body.style.backgroundColor = "#" + rr + gg + bb;num+=1;}function dec2hex(number){var hex_array=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F");var hext=0;var hexo=0;for(;number!=0;){if (number>=16){number-=16;hext+=1;}if (number<=15){number=0;hexo=number;}}number=hex_array[hext]+hex_array[hexo];return number;}startup();
iAmTubbie
Archangel
Archangel
Reactions:
Posts: 903
Main character: iAmTubbie
Location: food court

Re: 1337 b04rd h4x

Post by iAmTubbie »

NUU dam i thoguth it would work here f3 i pasted in the address bar and it turned soo colourfullly i was tripped out O_O
User avatar
Etherpendant
Guild Founder
Guild Founder
Reactions:
Posts: 914
Main character: Etherpendant
Job: Magician
Location: Washington (State)

Re: 1337 b04rd h4x

Post by Etherpendant »

WHOAAAA! O_O

I understood a bit of that javascript, it would help if it was not mushed together. Haven't learning some of those functions there though.
Battletag: kittens#1129
User avatar
OddMike
Archangel
Archangel
Reactions:
Posts: 767
Main character: OddHermit
Location: Longmeadow

Re: 1337 b04rd h4x

Post by OddMike »

WHOA!!!!!
Too lazy too make mine right now. Maybe when i hit lvl 70! Toff I love you btw :3
http://maple-records.com/signatures/sig ... 91b276.png
Post Reply