basilisksNames.js (4361B)
1 var nm1 = ["", "", "", "ch", "h", "j", "n", "r", "s", "sh", "th", "x", "y", "z"]; 2 var nm2 = ["a", "e", "i", "o", "u", "a", "e", "u", "a", "e", "i", "o", "u", "a", "e", "u", "a", "e", "i", "o", "u", "a", "e", "u", "aa", "au", "ei", "ou", "ua"]; 3 var nm3 = ["c", "g", "j", "k", "n", "q", "s", "x", "z", "c", "g", "j", "k", "n", "q", "s", "x", "z", "c", "cc", "ch", "cs", "cr", "hs", "hg", "hx", "hn", "g", "gg", "gr", "gy", "gsh", "j", "k", "kh", "ksh", "ks", "kz", "kr", "n", "ns", "nsh", "nz", "nq", "q", "qh", "s", "sh", "sz", "x", "z", "zh"]; 4 var nm4 = ["c", "g", "j", "k", "n", "q", "s", "x", "z"]; 5 var nm5 = ["", "", "", "c", "h", "q", "s", "sh", "t", "th", "x", "z"]; 6 var check = ["anal", "anus", "arse", "ass", "balls", "bastard", "biatch", "bigot", "bitch", "bollock", "bollok", "boner", "boob", "bugger", "bum", "butt", "clitoris", "cock", "coon", "crap", "cunt", "damn", "dick", "dildo", "dyke", "fag", "feck", "felching", "fellate", "fellatio", "flange", "fuck", "gay", "lust", "goddamn", "homo", "jackass", "jerk", "jizz", "knobend", "labia", "muff", "nigga", "nigger", "niggers", "penis", "piss", "poop", "prick", "pube", "pussy", "queer", "scrotum", "sex", "shit", "slut", "smegma", "spunk", "tit", "tosser", "turd", "twat", "vagina", "wank", "whore", "wtf"]; 7 var br = ""; 8 9 function nameGen() { 10 $('#placeholder').css('textTransform', 'capitalize'); 11 var element = document.createElement("div"); 12 element.setAttribute("id", "result"); 13 for (i = 0; i < 10; i++) { 14 rnd = Math.random() * nm1.length | 0; 15 rnd2 = Math.random() * nm2.length | 0; 16 rnd3 = Math.random() * nm3.length | 0; 17 rnd4 = Math.random() * nm2.length | 0; 18 rnd5 = Math.random() * nm5.length | 0; 19 while (nm1[rnd] === nm3[rnd3]) { 20 rnd3 = Math.random() * nm3.length | 0; 21 } 22 while (nm5[rnd5] === nm3[rnd3]) { 23 rnd5 = Math.random() * nm5.length | 0; 24 } 25 if (i < 5) { 26 names = nm1[rnd] + nm2[rnd2] + nm3[rnd3] + nm2[rnd4] + nm5[rnd5]; 27 for (j = 0; j < check.length; j++) { 28 while (names === check[j]) { 29 rnd = Math.floor(Math.random() * nm1.length); 30 names = nm1[rnd] + nm2[rnd2] + nm3[rnd3] + nm2[rnd4] + nm5[rnd5]; 31 } 32 } 33 } else if (i < 9) { 34 rnd6 = Math.random() * nm4.length | 0; 35 rnd7 = Math.random() * nm2.length | 0; 36 if (i < 7) { 37 names = nm1[rnd] + nm2[rnd2] + nm3[rnd3] + nm2[rnd4] + nm4[rnd6] + nm2[rnd7] + nm5[rnd5]; 38 for (j = 0; j < check.length; j++) { 39 while (names === check[j]) { 40 rnd = Math.floor(Math.random() * nm1.length); 41 names = nm1[rnd] + nm2[rnd2] + nm3[rnd3] + nm2[rnd4] + nm4[rnd6] + nm2[rnd7] + nm5[rnd5]; 42 } 43 } 44 } else { 45 names = nm1[rnd] + nm2[rnd2] + nm4[rnd6] + nm2[rnd7] + nm3[rnd3] + nm2[rnd4] + nm5[rnd5]; 46 for (j = 0; j < check.length; j++) { 47 while (names === check[j]) { 48 rnd = Math.floor(Math.random() * nm1.length); 49 names = nm1[rnd] + nm2[rnd2] + nm4[rnd6] + nm2[rnd7] + nm3[rnd3] + nm2[rnd4] + nm5[rnd5]; 50 } 51 } 52 } 53 } else { 54 rnd6 = Math.random() * nm3.length | 0; 55 rnd7 = Math.random() * nm2.length | 0; 56 while (nm3[rnd6] === nm3[rnd3]) { 57 rnd6 = Math.random() * nm3.length | 0; 58 } 59 names = nm1[rnd] + nm2[rnd2] + nm3[rnd3] + nm2[rnd4] + nm3[rnd6] + nm2[rnd7] + nm5[rnd5]; 60 for (j = 0; j < check.length; j++) { 61 while (names === check[j]) { 62 rnd = Math.floor(Math.random() * nm1.length); 63 names = nm1[rnd] + nm2[rnd2] + nm3[rnd3] + nm2[rnd4] + nm3[rnd6] + nm2[rnd7] + nm5[rnd5]; 64 } 65 } 66 } 67 br = document.createElement('br'); 68 element.appendChild(document.createTextNode(names)); 69 element.appendChild(br); 70 } 71 if (document.getElementById("result")) { 72 document.getElementById("placeholder").removeChild(document.getElementById("result")); 73 } 74 document.getElementById("placeholder").appendChild(element); 75 }