Gmail Einladungslink Generator
Verfasst: 07.06.2004, 17:08
wooot, sachen gibts,
here vom WMW
dieser code generiert einen "möglichen" Einladungslink von Gmail
here vom WMW
... btw, you'll notice it saying "Argh... bad link!" quite a lot. That's because there are 16^10 (1,099,511,627,776) combinations of hex codes.<html>
<head>
<title>Random Gmail Link Generator</title>
<script type="text/javascript">
function random() {
var hex1 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f")
var hex2 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f")
var hex3 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f")
var hex4 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f")
var hex5 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f")
var hex6 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f")
var hex7 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f")
var hex8 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f")
var hex9 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f")
var hex0 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f")
var gmail = "https://gmail.google.com/gmail/a-5ce404a8e1-" + hex1[Math.floor(Math.random()*hex1.length)] + hex2[Math.floor(Math.random()*hex2.length)] + hex3[Math.floor(Math.random()*hex3.length)] + hex4[Math.floor(Math.random()*hex4.length)] + hex5[Math.floor(Math.random()*hex5.length)] + hex6[Math.floor(Math.random()*hex6.length)] + hex7[Math.floor(Math.random()*hex7.length)] + hex8[Math.floor(Math.random()*hex8.length)] + hex9[Math.floor(Math.random()*hex9.length)] + hex0[Math.floor(Math.random()*hex0.length)];
document.all.target.src = gmail;
document.all.textarea.value = "Fetching URL:\n" + gmail;}
function reset() {
document.all.target.src = "about:blank";}
function done() {
document.all.textarea.value = "Ready.\nClick \"Get Gmail\" to fetch new URL.";}
</script>
</head>
<body>
<font size="3" face="Arial"><b>Random Gmail Link Generator</b></font><br>
<iframe id="target" width="638" height="434" src="about:blank" onLoad="done()"></iframe><br>
<textarea cols="77" rows="2" name="textarea">This coding is fairly rough, and it looks like it won't work in your browser. Sorry.</textarea><br>
<button onClick="random()">Get Gmail</button>
<button onClick="reset()">Clear iframe</button>
</body>
</html>
dieser code generiert einen "möglichen" Einladungslink von Gmail