offline-fantasy-name-generators

Offline version of www.fantasynamegenerators.com
git clone https://git.neptards.moe/neptards/offline-fantasy-name-generators.git
Log | Files | Refs | README

airlineNames.js (2424B)


      1 var nm1 = ["Adventure", "Aegis", "Aeolus", "Aether", "Albatross", "Anemoi", "Angel", "Aura", "Aurora", "Black Swan", "Blossom", "Blue Jay", "Bonus", "Boreas", "Celeste", "Champion", "Chickadee", "Clover", "Comfort", "Condor", "Cosmos", "Crane", "Crescent", "Crown", "Curiosity", "Delight", "Desire", "Diamond", "Diorama", "Discovery", "Dragon", "Dragoon", "Dream", "Dreamline", "Dreamscape", "Eagle", "Eclipse", "Elegance", "Elysium", "Emerald", "Enigma", "Intrepid", "Eos", "Excalibur", "Expedition", "Exploration", "Explorer", "Fairy", "Falcon", "Felicity", "Firebird", "Flamingo", "Free", "Freedom", "Future", "Globetrotter", "Goldleaf", "Grace", "Great Owl", "Griffin", "Happiness", "Happy", "Harmony", "Hawk", "Heirloom", "Helios", "Heritage", "Heron", "Hippogriff", "Hummingbird", "Ibis", "Independence", "Ivory", "Jade", "Journey", "Kestrel", "Kingfisher", "Ladybug", "Laughing Gull", "Liberty", "Little Gift", "Luxury", "Macaw", "Majesty", "Malachite", "Memories", "Merlin", "Moonlight", "Nebula", "Nightingale", "Nimbus", "Njord", "Nova", "Obsidian", "Odin", "Onyx", "Opportunity", "Oracle", "Osprey", "Paradise", "Paragon", "Pegasus", "Pelican", "Phoenix", "Pinnacle", "Possibility", "Rainbow", "Raven", "Robin", "Rose", "Royal", "Royal Crown", "Ruby", "Sapphire", "Saranyu", "Satisfaction", "Silk", "Simple", "Smile", "Sparkle", "Sparrow", "Spirit", "Starlight", "Stork", "Summit", "Sunrise", "Sunset", "Surprise", "Swallow", "Swan", "Swift", "Thrill", "Throne", "Thunderbird", "Tranquility", "Triumph", "Turtle Dove", "Vayu", "Voyage", "Wanderlust", "Wyvern", "Zephyr", "Zeus"];
      2 var nm2 = ["", "Air", "Air", "Airlines", "Airways", "Airlines", "Airways", "Airlines", "Airways", "Airlines", "Airways", "Airlines", "Airways", "Airlines", "Airways", "Express"];
      3 
      4 function nameGen() {
      5     var br = "";
      6     var element = document.createElement("div");
      7     element.setAttribute("id", "result");
      8     for (i = 0; i < 10; i++) {
      9         rnd = Math.random() * nm1.length | 0;
     10         rnd2 = Math.random() * nm2.length | 0;
     11         names = nm1[rnd] + " " + nm2[rnd2];
     12         br = document.createElement('br');
     13         element.appendChild(document.createTextNode(names));
     14         element.appendChild(br);
     15     }
     16     if (document.getElementById("result")) {
     17         document.getElementById("placeholder").removeChild(document.getElementById("result"));
     18     }
     19     document.getElementById("placeholder").appendChild(element);
     20 }