Show LJ/DW Tag Count

By Xtina Last update Apr 21, 2009 — Installed 85 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

There are 1 previous version of this script.

// ==UserScript==
// @name           Show LJ/DW Tag Count
// @namespace      http://userscripts.org/users/29897
// @description    Show the # of tags on the Manage Tags page.
// @include        http://www.livejournal.com/manage/tags.bml*
// @include        http://www.dreamwidth.org/manage/tags.bml*
// ==/UserScript==

var tagSelect = document.getElementById("tags").childNodes.length;
var legendOne = document.getElementsByTagName("legend")[0];

// You can, naturally, change the styling of the tag count fairly easily.
// I just wanted it both present and inobtrusive.

var newText = " <span style=\"color: #060; font-weight: normal;\">(" + tagSelect + ")</span>"

legendOne.innerHTML = legendOne.innerHTML + newText;