throneOfGlassNames.js (11696B)
1 var nm1 = ["", "", "", "", "", "c", "ch", "d", "g", "l", "m", "r", "s", "t", "v", "z"]; 2 var nm2 = ["a", "e", "i", "o", "u", "a", "e", "a", "a", "e", "i", "o", "u", "a", "e", "a", "a", "e", "i", "o", "u", "a", "e", "a", "a", "e", "i", "o", "u", "a", "e", "a", "a", "e", "i", "o", "u", "a", "e", "a", "ai", "ae", "io", "ia", "ao"]; 3 var nm3 = ["b", "br", "d", "dr", "g", "l", "ld", "lv", "m", "r", "v", "w"]; 4 var nm4 = ["b", "d", "g", "l", "m", "r", "v", "w"]; 5 var nm5 = ["l", "ll", "n", "nn", "s"]; 6 var nm6 = ["", "", "", "", "", "c", "f", "h", "k", "l", "m", "n", "s", "y"]; 7 var nm7 = ["a", "e", "i", "o", "u", "e", "i", "e", "a", "e", "i", "o", "u", "e", "i", "e", "a", "e", "i", "o", "u", "e", "i", "e", "a", "e", "i", "o", "u", "e", "i", "e", "a", "e", "i", "o", "u", "e", "i", "e", "ae", "ae", "ia", "ea", "ai"]; 8 var nm8 = ["d", "f", "h", "l", "ln", "lt", "m", "n", "nd", "nr", "r", "s", "st", "sr", "th"]; 9 var nm9 = ["d", "f", "h", "l", "m", "n", "r", "s"]; 10 var nm10 = ["", "", "", "", "", "", "", "", "", "", "h", "l", "ll", "n", "nn", "s"]; 11 var nm11 = ["f", "g", "h", "l", "r", "s"]; 12 var nm12 = ["a", "e", "i", "o", "a", "e", "i", "o", "u"]; 13 var nm13 = ["ch", "d", "g", "l", "ll", "mp", "n", "nd", "nt", "r", "rd", "s", "ss", "tg", "th", "v"]; 14 var nm14 = ["a", "e", "i", "o", "iu", "ie", "ia"]; 15 var nm15 = ["l", "n", "q", "r", "rd", "rn", "s"]; 16 var nm16 = ["Aaron", "Abraham", "Adam", "Adrian", "Aidan", "Aiden", "Alan", "Alec", "Alejandro", "Alex", "Alexander", "Alexis", "Allen", "Andre", "Andres", "Andrew", "Angel", "Anthony", "Antonio", "Ashton", "Austin", "Ayden", "Benjamin", "Blake", "Braden", "Bradley", "Brady", "Brandon", "Brayden", "Brendan", "Brent", "Brett", "Brian", "Brody", "Bryan", "Bryce", "Bryson", "Caden", "Caleb", "Calvin", "Cameron", "Carlos", "Carson", "Carter", "Casey", "Cesar", "Chad", "Charles", "Chase", "Christian", "Christopher", "Clayton", "Cody", "Colby", "Cole", "Colin", "Collin", "Colton", "Conner", "Connor", "Cooper", "Corey", "Cory", "Craig", "Cristian", "Curtis", "Dakota", "Dalton", "Damian", "Daniel", "Darius", "David", "Dennis", "Derek", "Derrick", "Devin", "Devon", "Diego", "Dillon", "Dominic", "Donald", "Donovan", "Douglas", "Drew", "Dustin", "Dylan", "Edgar", "Eduardo", "Edward", "Edwin", "Eli", "Elias", "Elijah", "Emmanuel", "Eric", "Erick", "Erik", "Ethan", "Evan", "Fernando", "Francisco", "Frank", "Gabriel", "Gage", "Garrett", "Gary", "Gavin", "George", "Giovanni", "Grant", "Gregory", "Hayden", "Hector", "Henry", "Hunter", "Ian", "Isaac", "Isaiah", "Ivan", "Jack", "Jackson", "Jacob", "Jaden", "Jake", "Jalen", "James", "Jared", "Jason", "Javier", "Jayden", "Jeffrey", "Jeremiah", "Jeremy", "Jerry", "Jesse", "Jesus", "Joel", "John", "Johnathan", "Johnny", "Jonah", "Jonathan", "Jonathon", "Jordan", "Jorge", "Jose", "Joseph", "Joshua", "Josiah", "Juan", "Julian", "Justin", "Kaden", "Kaleb", "Keith", "Kenneth", "Kevin", "Kyle", "Landon", "Larry", "Leonardo", "Levi", "Liam", "Logan", "Lucas", "Luis", "Luke", "Malachi", "Malik", "Manuel", "Marco", "Marcus", "Mario", "Mark", "Martin", "Mason", "Mathew", "Matthew", "Max", "Maxwell", "Micah", "Michael", "Miguel", "Mitchell", "Nathan", "Nathaniel", "Nicholas", "Nicolas", "Noah", "Nolan", "Oliver", "Omar", "Oscar", "Owen", "Parker", "Patrick", "Paul", "Pedro", "Peter", "Peyton", "Philip", "Phillip", "Preston", "Randy", "Raymond", "Ricardo", "Richard", "Riley", "Robert", "Roberto", "Ronald", "Ruben", "Ryan", "Samuel", "Scott", "Sean", "Sebastian", "Sergio", "Seth", "Shane", "Shawn", "Spencer", "Stephen", "Steven", "Tanner", "Taylor", "Thomas", "Timothy", "Tony", "Travis", "Trenton", "Trevor", "Tristan", "Troy", "Tyler", "Victor", "Vincent", "Wesley", "William", "Wyatt", "Xavier", "Zachary"]; 17 var nm17 = ["Aaliyah", "Abby", "Abigail", "Addison", "Adriana", "Adrianna", "Alana", "Alejandra", "Alexa", "Alexandra", "Alexandria", "Alexia", "Alexis", "Alicia", "Alison", "Allison", "Alondra", "Alyssa", "Amanda", "Amber", "Amelia", "Amy", "Ana", "Andrea", "Angel", "Angela", "Angelica", "Angelina", "Anna", "April", "Ariana", "Arianna", "Ariel", "Ashlee", "Ashley", "Ashlyn", "Aubrey", "Audrey", "Autumn", "Ava", "Avery", "Bailey", "Bethany", "Bianca", "Brandi", "Brandy", "Breanna", "Brenda", "Briana", "Brianna", "Brittany", "Brittney", "Brooke", "Brooklyn", "Caitlin", "Caitlyn", "Camila", "Carly", "Caroline", "Casey", "Cassandra", "Cassidy", "Catherine", "Charlotte", "Chelsea", "Chelsey", "Cheyenne", "Chloe", "Christina", "Christine", "Cindy", "Claire", "Claudia", "Courtney", "Crystal", "Cynthia", "Daisy", "Dana", "Daniela", "Danielle", "Deanna", "Delaney", "Desiree", "Destiny", "Diamond", "Diana", "Dominique", "Elizabeth", "Ella", "Ellie", "Emily", "Emma", "Erica", "Erika", "Erin", "Eva", "Evelyn", "Faith", "Felicia", "Gabriela", "Gabriella", "Gabrielle", "Genesis", "Gianna", "Gina", "Giselle", "Grace", "Gracie", "Hailey", "Haley", "Hannah", "Hayley", "Heather", "Holly", "Hope", "Isabel", "Isabella", "Isabelle", "Jacqueline", "Jada", "Jade", "Jamie", "Jasmin", "Jasmine", "Jayla", "Jazmin", "Jenna", "Jennifer", "Jessica", "Jillian", "Joanna", "Jocelyn", "Jordan", "Jordyn", "Julia", "Juliana", "Julie", "Kaitlin", "Kaitlyn", "Kara", "Karen", "Karina", "Kate", "Katelyn", "Katherine", "Kathleen", "Kathryn", "Katie", "Katrina", "Kayla", "Kaylee", "Kelly", "Kelsey", "Kendall", "Kendra", "Kennedy", "Kiara", "Kimberly", "Kirsten", "Krista", "Kristen", "Kristin", "Kristina", "Krystal", "Kylee", "Kylie", "Laura", "Lauren", "Layla", "Leah", "Leslie", "Liliana", "Lillian", "Lilly", "Lily", "Lindsay", "Lindsey", "Lisa", "Lucy", "Lydia", "Mackenzie", "Madeline", "Madelyn", "Madison", "Makayla", "Makenzie", "Mallory", "Margaret", "Maria", "Mariah", "Marisa", "Marissa", "Mary", "Maya", "Mckenzie", "Meagan", "Megan", "Meghan", "Melanie", "Melissa", "Mercedes", "Mia", "Michaela", "Michelle", "Mikayla", "Miranda", "Molly", "Monica", "Monique", "Morgan", "Mya", "Nancy", "Naomi", "Natalia", "Natalie", "Natasha", "Nevaeh", "Nicole", "Olivia", "Paige", "Patricia", "Payton", "Peyton", "Rachael", "Rachel", "Raven", "Reagan", "Rebecca", "Rebekah", "Riley", "Ruby", "Rylee", "Sabrina", "Sadie", "Samantha", "Sandra", "Sara", "Sarah", "Savannah", "Selena", "Serenity", "Shannon", "Shelby", "Sierra", "Skylar", "Sofia", "Sophia", "Sophie", "Stephanie", "Summer", "Sydney", "Tara", "Taylor", "Tiffany", "Trinity", "Valeria", "Valerie", "Vanessa", "Veronica", "Victoria", "Whitney", "Yesenia", "Zoe", "Zoey"]; 18 var nm18 = ["Amber", "Ash", "Autumn", "Black", "Blaze", "Blue", "Boulder", "Bright", "Bronze", "Cask", "Cinder", "Clean", "Clear", "Cliff", "Cloud", "Col", "Com", "Coven", "Crag", "Crest", "Dark", "Dawn", "Day", "Dust", "Ember", "Even", "Far", "Fern", "Flat", "Flin", "For", "Fore", "Forest", "Free", "Full", "Fuse", "Glow", "Gol", "Grand", "Gray", "Great", "Green", "Har", "Hard", "Heart", "Hel", "Hell", "Hi", "High", "Hill", "Ice", "Iron", "Keen", "Li", "Light", "Lone", "Long", "Low", "Mil", "Mour", "Nigh", "Night", "Orb", "Pale", "Pine", "Plain", "Pride", "Proud", "Rough", "Shade", "Shadow", "Silent", "Silver", "Snow", "Soft", "Spring", "Star", "Still", "Stone", "Storm", "Stout", "Strong", "Summer", "Thunder", "True", "Whit", "White", "Wild", "Wind", "Winter", "Wise", "Wolf", "Wood", "Young"]; 19 var nm19 = ["ash", "bane", "beak", "beam", "beard", "bend", "bind", "bluff", "bough", "bow", "brace", "branch", "brand", "brew", "brook", "brooke", "brow", "cloud", "crag", "creek", "crest", "dew", "down", "fall", "fallow", "flaw", "flow", "force", "forge", "gaze", "glade", "glory", "glow", "grove", "guard", "heart", "light", "mane", "mantle", "maw", "more", "mourn", "ridge", "river", "rock", "root", "run", "shadow", "shine", "snow", "song", "sorrow", "spark", "spire", "star", "stone", "stream", "stride", "swallow", "talon", "thorn", "thorne", "tide", "vale", "valor", "ward", "watch", "water", "whisper", "willow", "wind", "wing", "wood", "woods"]; 20 var br = ""; 21 22 function nameGen(type) { 23 $('#placeholder').css('textTransform', 'capitalize'); 24 var tp = type; 25 var element = document.createElement("div"); 26 element.setAttribute("id", "result"); 27 for (i = 0; i < 10; i++) { 28 if (i % 2 === 0) { 29 rnd = Math.floor(Math.random() * nm18.length); 30 rnd2 = Math.floor(Math.random() * nm19.length); 31 while (nm18[rnd] === nm19[rnd2]) { 32 rnd2 = Math.floor(Math.random() * nm19.length); 33 } 34 lName = nm18[rnd] + nm19[rnd2]; 35 } else if (i % 3 === 0) { 36 rnd = Math.floor(Math.random() * nm11.length); 37 rnd2 = Math.floor(Math.random() * nm12.length); 38 rnd3 = Math.floor(Math.random() * nm13.length); 39 rnd4 = Math.floor(Math.random() * nm12.length); 40 rnd5 = Math.floor(Math.random() * nm13.length); 41 rnd6 = Math.floor(Math.random() * nm14.length); 42 rnd7 = Math.floor(Math.random() * nm15.length); 43 lName = nm11[rnd] + nm12[rnd2] + nm13[rnd3] + nm12[rnd4] + nm13[rnd5] + nm14[rnd6] + nm15[rnd7]; 44 } else { 45 rnd = Math.floor(Math.random() * nm11.length); 46 rnd2 = Math.floor(Math.random() * nm12.length); 47 rnd3 = Math.floor(Math.random() * nm13.length); 48 rnd4 = Math.floor(Math.random() * nm14.length); 49 rnd5 = Math.floor(Math.random() * nm15.length); 50 lName = nm11[rnd] + nm12[rnd2] + nm13[rnd3] + nm14[rnd4] + nm15[rnd5]; 51 } 52 if (tp === 1) { 53 rnd = Math.floor(Math.random() * nm6.length); 54 rnd2 = Math.floor(Math.random() * nm7.length); 55 rnd3 = Math.floor(Math.random() * nm8.length); 56 rnd4 = Math.floor(Math.random() * nm7.length); 57 rnd5 = Math.floor(Math.random() * nm10.length); 58 if (i < 2) { 59 rnd = Math.floor(Math.random() * nm17.length); 60 names = nm17[rnd] + " " + lName; 61 } else if (i < 6) { 62 if (rnd < 5) { 63 while (rnd5 < 10) { 64 rnd5 = Math.floor(Math.random() * nm10.length); 65 } 66 } 67 names = nm6[rnd] + nm7[rnd2] + nm8[rnd3] + nm7[rnd4] + nm10[rnd5] + " " + lName; 68 } else { 69 rnd6 = Math.floor(Math.random() * nm9.length); 70 rnd7 = Math.floor(Math.random() * nm7.length); 71 names = nm6[rnd] + nm7[rnd2] + nm8[rnd3] + nm7[rnd4] + nm9[rnd6] + nm7[rnd7] + nm10[rnd5] + " " + lName; 72 } 73 } else { 74 rnd = Math.floor(Math.random() * nm1.length); 75 rnd2 = Math.floor(Math.random() * nm2.length); 76 rnd3 = Math.floor(Math.random() * nm3.length); 77 rnd4 = Math.floor(Math.random() * nm2.length); 78 rnd5 = Math.floor(Math.random() * nm5.length); 79 if (i < 2) { 80 rnd = Math.floor(Math.random() * nm16.length); 81 names = nm16[rnd] + " " + lName; 82 } else if (i < 6) { 83 names = nm1[rnd] + nm2[rnd2] + nm3[rnd3] + nm2[rnd4] + nm5[rnd5] + " " + lName; 84 } else { 85 rnd6 = Math.floor(Math.random() * nm4.length); 86 rnd7 = Math.floor(Math.random() * nm2.length); 87 names = nm1[rnd] + nm2[rnd2] + nm3[rnd3] + nm2[rnd4] + nm4[rnd6] + nm2[rnd7] + nm5[rnd5] + " " + lName; 88 } 89 } 90 br = document.createElement('br'); 91 element.appendChild(document.createTextNode(names)); 92 element.appendChild(br); 93 } 94 if (document.getElementById("result")) { 95 document.getElementById("placeholder").removeChild(document.getElementById("result")); 96 } 97 document.getElementById("placeholder").appendChild(element); 98 }