SeikoShadow / Faction Armoury Link

// ==UserScript==
// @name        Faction Armoury Link
// @namespace   SeikShadow [1693261]
// @description Adds a faction armoury link to the left-hand navigation
// @include     http://www.torn.com/*
// @version     0.1
// @grant
// ==/UserScript==

window.addEventListener("load", addArmoryLink, false);

function addArmoryLink () {
  var div = document.createElement("div");
  var menu = document.getElementsByClassName('areas');
  
  div.className = "Faction";
  div.innerHTML = '<li><div class="list-link" id="nav-faction-armory"><a href="/factions.php?step=your#/tab=armoury"><i class="my-faction-navigation-icons left"></i><span class="border-l"></span><span class="border-r"></span><span class="list-link-name">Faction Armory</span></a></div></li>';
                
  menu[0].appendChild(div);
}