You are on page 1of 1

colorful scraps

colorize your scraps with this small javascript


follow the steps:-->

1) open any scrapbook.

2) write your message in the scrap. do not click on submit.

3) copy the following text and paste it in your address bar (to the place where
you type www.orkut.com )

javascript:cor=new
array('aqua','blue','fuchsia','gold','gray','green','lime','maroon','navy','olive'
,'orange','pink','purple','red','silver','teal','violet', 'yellow' );var
z=0;txt=document.getelementsbytagname('textarea')[0];txt.value=txt.value.replace(/
(.)/gi,"�$1");txt.value=txt.value.replace(/\� /gi,"
");for(y=0;y<txt.value.length;y++){txt.value=txt.value.replace(/\�/,'['+cor[z]+']'
);z++;if(z==cor.length){z=0}}void(0)

4) hit enter key of your keyboard.

5) click on submit

You might also like