You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
4.0 KiB
JavaScript
19 lines
4.0 KiB
JavaScript
function nameGen() {
|
|
var nm1 = ["Oh doodle robots", "Oh fish eyes", "Shoodlepoppers", "Jongle toys", "Arrow to the knee", "Bad gravy", "Bag of potatoes", "Balderdash", "Bane of my blight", "Barnacles", "Bird brain", "Birdbrained bandit", "Blangdang", "Blasted bandits", "Blasted burrito", "Blastfurnace", "Blazing inferno", "Blind mole", "Blood and ashes", "Blood and tears", "Bloodsucking barnacle", "Bloody bandages", "Blunderbuss", "Bootlicking barnacle", "Boulderdash", "Boulderhead", "Bouncing balls", "Branded idiot", "Bread bandit", "Broken scarecrow", "Broken swords", "Bullspit", "Burned Bird Brain", "Burned gravy", "Burps and farts", "Butt bushroom", "Butterscotch", "By Bozo's beard", "Cabbagehead", "Caesar's ghost", "Candied nuts", "Cheese and crackers", "Cold brain", "Cookie crumbles", "Cookie dough", "Cookoo bananas", "Crab cakes", "Crab muffin", "Craven raven", "Crazy caribou", "Cream and crackers", "Cripes", "Curses", "Dagnabbit", "Dastardly dimwit", "Deadbeat dingo", "Deadbeat dodo", "Death and taxes", "Dingo dung", "Dipstick", "Dirt Nugget", "Dirty socks", "Disco dancing donkey", "Dodge ram it", "Doubleheaded nimwit", "Duck herder", "Dump truck", "Dung beetle", "Dust and ashes", "Dust farmer", "Dust on crackers", "Eternal oblivion", "Eyesore", "Fairydust", "Feeble pheasant", "Fiddlesticks", "Fire and brimstone", "Flaming fire", "Flaming hell", "Flipping frogs", "Frak", "Freaking A", "Frick", "Friggers", "Frinx", "Friscuit", "Frizzle frazzle", "Frozen satan on a flying pig", "Fudgemuffin", "Fudgepuppies", "Fun on a bun", "Garbage", "Garbage truck", "Ghostbrain", "Gobbledygook", "Good gravy", "Goof nugget", "Boogers", "Grave stalker", "Grief magician", "Grief wizard", "Grime reaper", "Gunk gecko", "Hockey sticks", "Hogwash", "Holy carp", "Holy cows of India", "Holy wack a moly", "Hopping hippos", "Horse feathers", "Horse hockey", "Ignorant ogre", "Ish", "Jingle jangle", "Jumping jacks", "King of the void", "Kitty whiskers", "Loud noises", "Mad mud mason", "Marble brain", "Eternal Anguish", "Mashed potato", "Merlin's beard", "Mice droppings", "Monkey disco", "Monkey poop", "Moronic maniac", "Mosquito bite", "Mother father", "Mother of pearl", "Muckdweller", "Mud professor", "Mudbrain", "Mudscraper", "Muttonhead", "Noodle sticks", "Nun on a bun", "Oblivious ogre", "Ogre booger", "Oh coconuts", "Oh crumbcake", "Oh gargoyle", "Oh mistletoe", "Oh patches", "Oh pickles", "Paltry parasite", "Parasite peasant", "Party of pigs", "Patchwork pigeon brain", "Pea shoots", "Pheasant peasant", "Pickled onion", "Pigeon peasant", "Pigeon peon", "Pile of pebbles", "Poop giant", "Puddlegoo", "Rainbow chaser", "Roaring tiger", "Rotbrain", "Rusting spoons", "Sand cake baker", "Sand crackers", "Sand in a sandwich", "Schnikes", "Sewer pipe", "Shallow swallow", "Shoot a mile", "Shriveling worm", "Shut the front door", "Slip and slide", "Sludge fudger", "Slug racer", "Slushy icecream", "Snitching sneazel", "Son of a banshee", "Son of a beaver", "Son of a biscuit", "Son of a gun", "Son of a sea cook", "Son of a troll", "Soup fly", "Spells and curses", "Storm and thunder", "Storm chaser", "Stuff yourself", "Sugarlumps", "Sweet cheese", "Sweet onions", "Sweet silver sands", "Swizzle sticks", "Thunder and lightning", "Toe fungus", "Toe mushroom", "Turd in a suit", "Twaddle Taddle", "Twisting nether", "Vacant skull", "Venomtongue", "Weenie in a beanie", "Whack a holy moly", "What the jig", "What the what now", "Wind and water", "Withered bird brain", "Worm feeder", "Worthless wormfood"];
|
|
var br = "";
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
for (i = 0; i < 10; i++) {
|
|
rnd = Math.floor(Math.random() * nm1.length);
|
|
names = nm1[rnd] + "!";
|
|
nm1.splice(rnd, 1);
|
|
br = document.createElement('br');
|
|
element.appendChild(document.createTextNode(names));
|
|
element.appendChild(br);
|
|
}
|
|
if (document.getElementById("result")) {
|
|
document.getElementById("placeholder").removeChild(document.getElementById("result"));
|
|
}
|
|
document.getElementById("placeholder").appendChild(element);
|
|
}
|