From 3926e313a69d931dbfae276d4ff2bb0e28d45b5c Mon Sep 17 00:00:00 2001 From: Ole Henrik Stabell Date: Mon, 15 May 2017 09:10:09 +0200 Subject: [PATCH] fixed type in lists url --- js/flavortext.js | 2 +- js/flavortext.min.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/flavortext.js b/js/flavortext.js index a16902d..3784c58 100644 --- a/js/flavortext.js +++ b/js/flavortext.js @@ -30,7 +30,7 @@ // Opens the list page function goToLists() { - window.location = "https://destinflavortext.net/lists.html"; + window.location = "https://destinyflavortext.net/lists.html"; } // Returns the user to the home page diff --git a/js/flavortext.min.js b/js/flavortext.min.js index 67fe3e2..0fc9d05 100644 --- a/js/flavortext.min.js +++ b/js/flavortext.min.js @@ -1 +1 @@ -function GrabRandomFlavorText(){$.getJSON("https://destinyflavortext.net/data/flavortext.json",function(t){var e=t[Math.floor(Math.random()*t.length)],a=e;document.getElementById("name").innerHTML=a.name,document.getElementById("type").innerHTML=a.type,document.getElementById("flavortext").innerHTML=a.flavor})}function Refresh(){GrabRandomFlavorText()}function About(){document.getElementById("name").innerHTML=aboutTitle,document.getElementById("type").innerHTML="",document.getElementById("flavortext").innerHTML=aboutText}function goToLists(){window.location="https://destinflavortext.net/lists.html"}function GoHome(){window.location="https://destinyflavortext.net"}function SubmitFilterChoice(){"all"!=document.getElementById("filter_type").value||GrabFlavorText(),"autos"!=document.getElementById("filter_type").value||GrabAutos(),"fusions"!=document.getElementById("filter_type").value||GrabFusions(),"hand_cannons"!=document.getElementById("filter_type").value||GrabHandCannons(),"lmgs"!=document.getElementById("filter_type").value||GrabLmgs(),"pulses"!=document.getElementById("filter_type").value||GrabPulses(),"rockets"!=document.getElementById("filter_type").value||GrabRockets(),"scouts"!=document.getElementById("filter_type").value||GrabScouts(),"shotguns"!=document.getElementById("filter_type").value||GrabShotguns(),"sidearms"!=document.getElementById("filter_type").value||GrabSidearms(),"snipers"!=document.getElementById("filter_type").value||GrabSnipers(),"swords"!=document.getElementById("filter_type").value||GrabSwords(),"artifacts"!=document.getElementById("filter_type").value||GrabArtifacts(),"hunter_artifacts"!=document.getElementById("filter_type").value||GrabHunterArtifacts(),"hunter_helmets"!=document.getElementById("filter_type").value||GrabHunterHelmets(),"hunter_chest_armor"!=document.getElementById("filter_type").value||GrabHunterChestArmor(),"hunter_cloaks"!=document.getElementById("filter_type").value||GrabCloaks(),"hunter_gauntlets"!=document.getElementById("filter_type").value||GrabHunterGauntlets(),"hunter_helmets"!=document.getElementById("filter_type").value||GrabHunterHelmets(),"hunter_leg_armor"!=document.getElementById("filter_type").value||GrabHunterLegArmor(),"titan_artifacts"!=document.getElementById("filter_type").value||GrabHunterArtifacts(),"titan_helmets"!=document.getElementById("filter_type").value||GrabTitanHelmets(),"titan_chest_armor"!=document.getElementById("filter_type").value||GrabTitanChestArmor(),"titan_marks"!=document.getElementById("filter_type").value||GrabMarks(),"titan_gauntlets"!=document.getElementById("filter_type").value||GrabTitanGauntlets(),"titan_helmets"!=document.getElementById("filter_type").value||GrabTitanHelmets(),"titan_leg_armor"!=document.getElementById("filter_type").value||GrabTitanLegArmor(),"warlock_artifacts"!=document.getElementById("filter_type").value||GrabWarlockArtifacts(),"warlock_helmets"!=document.getElementById("filter_type").value||GrabWarlockHelmets(),"warlock_chest_armor"!=document.getElementById("filter_type").value||GrabWarlockChestArmor(),"warlock_bonds"!=document.getElementById("filter_type").value||GrabBonds(),"warlock_gauntlets"!=document.getElementById("filter_type").value||GrabWarlockGauntlets(),"warlock_helmets"!=document.getElementById("filter_type").value||GrabWarlockHelmets(),"warlock_leg_armor"!=document.getElementById("filter_type").value||GrabWarlockLegArmor(),"ghosts"!=document.getElementById("filter_type").value||GrabGhosts(),"ships"!=document.getElementById("filter_type").value||GrabShips(),"sparrows"!=document.getElementById("filter_type").value||GrabSparrows()}function GrabFlavorText(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/flavortext.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),type=$(document.createElement("p")),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","type"),flavor.attr("id","flavortext"),n.text(t[a].name),type.text(t[a].type),flavor.text(t[a].flavor),e.append(n,type,flavor)}})}function GrabAutos(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/autos.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabFusions(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/fusions.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHandCannons(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/hand%20cannons.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabLmgs(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/lmgs.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabPulses(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/pulses.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabRockets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/rockets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabScouts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/scouts.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabShotguns(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/shotguns.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabSidearms(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/sidearms.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabSnipers(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/snipers.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabSwords(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/swords.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabArtifacts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/artifacts.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHunterArtifacts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_artifact.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHunterChestArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_chest_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabCloaks(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_cloaks.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHunterGauntlets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_gauntlets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHunterHelmets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_helmets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHunterLegArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_leg_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabTitanArtifacts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_artifacts.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabTitanChestArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_chest_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabMarks(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_marks.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabTitanGauntlets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_gauntlets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabTitanHelmets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_helmets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabTitanLegArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_leg_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabWarlockArtifacts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_artifact.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabWarlockChestArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_chest_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabBonds(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_bonds.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabWarlockGauntlets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_gauntlets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabWarlockHelmets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_helmets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabWarlockLegArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_leg_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabGhosts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/misc/ghosts.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabShips(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/misc/ships.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabSparrows(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/misc/sparrows.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}var aboutTitle="About DestinyFlavorText.net",aboutText='Destiny Flavor Text, is a simple website that will give you a random piece of flavortext from Destiny on request. It is being developed by Hennamann from The Antioxidants If you would like to contribute to DestinyFlavorText.net\'s development, help contribute to the source code over on Github: https://github.com/antioxidants/destinyflavortext.'; \ No newline at end of file +function GrabRandomFlavorText(){$.getJSON("https://destinyflavortext.net/data/flavortext.json",function(t){var e=t[Math.floor(Math.random()*t.length)],a=e;document.getElementById("name").innerHTML=a.name,document.getElementById("type").innerHTML=a.type,document.getElementById("flavortext").innerHTML=a.flavor})}function Refresh(){GrabRandomFlavorText()}function About(){document.getElementById("name").innerHTML=aboutTitle,document.getElementById("type").innerHTML="",document.getElementById("flavortext").innerHTML=aboutText}function goToLists(){window.location="https://destinyflavortext.net/lists.html"}function GoHome(){window.location="https://destinyflavortext.net"}function SubmitFilterChoice(){"all"!=document.getElementById("filter_type").value||GrabFlavorText(),"autos"!=document.getElementById("filter_type").value||GrabAutos(),"fusions"!=document.getElementById("filter_type").value||GrabFusions(),"hand_cannons"!=document.getElementById("filter_type").value||GrabHandCannons(),"lmgs"!=document.getElementById("filter_type").value||GrabLmgs(),"pulses"!=document.getElementById("filter_type").value||GrabPulses(),"rockets"!=document.getElementById("filter_type").value||GrabRockets(),"scouts"!=document.getElementById("filter_type").value||GrabScouts(),"shotguns"!=document.getElementById("filter_type").value||GrabShotguns(),"sidearms"!=document.getElementById("filter_type").value||GrabSidearms(),"snipers"!=document.getElementById("filter_type").value||GrabSnipers(),"swords"!=document.getElementById("filter_type").value||GrabSwords(),"artifacts"!=document.getElementById("filter_type").value||GrabArtifacts(),"hunter_artifacts"!=document.getElementById("filter_type").value||GrabHunterArtifacts(),"hunter_helmets"!=document.getElementById("filter_type").value||GrabHunterHelmets(),"hunter_chest_armor"!=document.getElementById("filter_type").value||GrabHunterChestArmor(),"hunter_cloaks"!=document.getElementById("filter_type").value||GrabCloaks(),"hunter_gauntlets"!=document.getElementById("filter_type").value||GrabHunterGauntlets(),"hunter_helmets"!=document.getElementById("filter_type").value||GrabHunterHelmets(),"hunter_leg_armor"!=document.getElementById("filter_type").value||GrabHunterLegArmor(),"titan_artifacts"!=document.getElementById("filter_type").value||GrabHunterArtifacts(),"titan_helmets"!=document.getElementById("filter_type").value||GrabTitanHelmets(),"titan_chest_armor"!=document.getElementById("filter_type").value||GrabTitanChestArmor(),"titan_marks"!=document.getElementById("filter_type").value||GrabMarks(),"titan_gauntlets"!=document.getElementById("filter_type").value||GrabTitanGauntlets(),"titan_helmets"!=document.getElementById("filter_type").value||GrabTitanHelmets(),"titan_leg_armor"!=document.getElementById("filter_type").value||GrabTitanLegArmor(),"warlock_artifacts"!=document.getElementById("filter_type").value||GrabWarlockArtifacts(),"warlock_helmets"!=document.getElementById("filter_type").value||GrabWarlockHelmets(),"warlock_chest_armor"!=document.getElementById("filter_type").value||GrabWarlockChestArmor(),"warlock_bonds"!=document.getElementById("filter_type").value||GrabBonds(),"warlock_gauntlets"!=document.getElementById("filter_type").value||GrabWarlockGauntlets(),"warlock_helmets"!=document.getElementById("filter_type").value||GrabWarlockHelmets(),"warlock_leg_armor"!=document.getElementById("filter_type").value||GrabWarlockLegArmor(),"ghosts"!=document.getElementById("filter_type").value||GrabGhosts(),"ships"!=document.getElementById("filter_type").value||GrabShips(),"sparrows"!=document.getElementById("filter_type").value||GrabSparrows()}function GrabFlavorText(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/flavortext.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),type=$(document.createElement("p")),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","type"),flavor.attr("id","flavortext"),n.text(t[a].name),type.text(t[a].type),flavor.text(t[a].flavor),e.append(n,type,flavor)}})}function GrabAutos(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/autos.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabFusions(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/fusions.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHandCannons(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/hand%20cannons.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabLmgs(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/lmgs.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabPulses(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/pulses.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabRockets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/rockets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabScouts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/scouts.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabShotguns(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/shotguns.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabSidearms(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/sidearms.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabSnipers(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/snipers.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabSwords(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/weapons/swords.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabArtifacts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/artifacts.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHunterArtifacts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_artifact.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHunterChestArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_chest_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabCloaks(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_cloaks.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHunterGauntlets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_gauntlets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHunterHelmets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_helmets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabHunterLegArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/hunter_leg_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabTitanArtifacts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_artifacts.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabTitanChestArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_chest_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabMarks(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_marks.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabTitanGauntlets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_gauntlets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabTitanHelmets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_helmets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabTitanLegArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/titan_leg_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabWarlockArtifacts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_artifact.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabWarlockChestArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_chest_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabBonds(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_bonds.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabWarlockGauntlets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_gauntlets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabWarlockHelmets(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_helmets.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabWarlockLegArmor(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/armor/warlock_leg_armor.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabGhosts(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/misc/ghosts.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabShips(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/misc/ships.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}function GrabSparrows(){$("#item_list").html(""),$.getJSON("https://destinyflavortext.net/data/misc/sparrows.json",function(t){for(var e=$("#item_list"),a=0,r=t.length;r>a;a++){var n=$(document.createElement("p"),flavor=$(document.createElement("p")));n.attr("id","name"),flavor.attr("id","flavortext"),n.text(t[a].name),flavor.text(t[a].flavor),e.append(n,flavor)}})}var aboutTitle="About DestinyFlavorText.net",aboutText='Destiny Flavor Text, is a simple website that will give you a random piece of flavortext from Destiny on request. It is being developed by Hennamann from The Antioxidants If you would like to contribute to DestinyFlavorText.net\'s development, help contribute to the source code over on Github: https://github.com/antioxidants/destinyflavortext.'; \ No newline at end of file