ICE Key Generator

From Valve Developer Community
Revision as of 17:53, 17 May 2006 by Ts2do (talk | contribs) (seed)
Jump to navigation Jump to search

Source code

<script language="JavaScript" type="text/javascript">
	var chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()_+-=[]{};/., ~`:<>?';
	var l = chars.length-1;
	document.write('<font style="font-size:5em">');
	for(var x=0;x<=7;x++)
	{
		document.write(chars.charAt(Math.round(Math.random(new Date().getSeconds())*l)));
	}
	document.write('</font>');
</script>