xmenNames.js (2303B)
1 var nm1 = ["Matter Master", "Skye", "Conjurer", "Invincible", "Shift", "Telescope", "Wormhole", "Reptile", "Insect", "Bullet", "Venus", "Puma", "Lunar", "Wireless", "Vaccine", "Perception", "Springboard", "Eclipse", "Demon", "Siren", "Steelskin", "Ace", "Anarchy", "Ape", "Arachnid", "Ash", "Ashes", "Augury", "Aura", "Bandit", "Barrage", "Bearpaw", "Behemoth", "Blaze", "Blight", "Blizzard", "Bolt", "Bones", "Boulder", "Brute", "Bubble", "Chaos", "Chronos", "Clairity", "Clone", "Cloud", "Creature", "Cryptic", "Crystal", "Daydream", "Decay", "Demon", "Dice", "Discharge", "Disperse", "Dragonfly", "Dynamo", "Echo", "Electrode", "Enigma", "Fallout", "Fangs", "Feline", "Fiend", "Flint", "Flow", "Flux", "Frost", "Fury", "Fuse", "Gamble", "Gargoyle", "Ghost", "Gimmick", "Glutton", "Granite", "Grimm", "Hazard", "Hue", "Hypnotic", "Inferno", "Infinity", "Jackal", "Jester", "Katana", "Knightmare", "Light", "Liquid", "Luna", "Lupine", "Lupus", "Mammoth", "Mist", "Mouse", "Myth", "Naught", "Nightmare", "Nightowl", "Nightshade", "Noise", "Ogre", "Omen", "Onesize", "Ooze", "Optic", "Oracle", "Paladin", "Pandemonium", "Paradox", "Particle", "Pebble", "Phonic", "Phonix", "Physique", "Pipsqueak", "Plague", "Plasma", "Pygmy", "Pyre", "Quake", "Rime", "Ruse", "Savage", "Scepter", "Scout", "Scramble", "Seismic", "Sentinel", "Serenity", "Serpent", "Shade", "Shadow", "Shockwave", "Sight", "Siphon", "Siren", "Slither", "Sliver", "Sly", "Snake", "Snowflake", "Solaris", "Spark", "Splinter", "Stardust", "Steel", "Stretch", "Swine", "Switch", "Thunder", "Timber", "Timeles", "Tranquillity", "Twin", "Valkyrie", "Vapor", "Vermin", "Viper", "Virtue", "Void", "Vortex", "Weasel", "Whisper", "Wisp", "X-Ray", "Yce"]; 2 var br = ""; 3 4 function nameGen() { 5 var element = document.createElement("div"); 6 element.setAttribute("id", "result"); 7 for (i = 0; i < 10; i++) { 8 rnd = Math.floor(Math.random() * nm1.length); 9 names = nm1[rnd]; 10 br = document.createElement('br'); 11 element.appendChild(document.createTextNode(names)); 12 element.appendChild(br); 13 } 14 if (document.getElementById("result")) { 15 document.getElementById("placeholder").removeChild(document.getElementById("result")); 16 } 17 document.getElementById("placeholder").appendChild(element); 18 }