First and foremost: I really love this idea, thanks alot!
One thing though: You're assuming characters to be in the US armory, which is not always the case.
One little tweak I added (bold part):
Code:
var server = guild.realm;var characters = $("a span.DeathKnight, a span.Druid, a span.Hunter, a span.Mage, a span.Monk, a span.Paladin, a span.Priest, a span.Rogue, a span.Shaman, a span.Warlock, a span.Warrior").parent().parent();
var armory_url = "";
characters.each(function(index) {
var t = $(this);
var character_name = t.find("span").text();
var region = "us";
if (guild.timezone.match(/Europe/))
region = "eu";
armory_url = "http://" + region + ".battle.net/wow/en/character/" + server + "/" + character_name + "/advanced";
t.append(" <small>[<a href=\"" + armory_url + "\" target=\"_new\">Armory</a>]</small>");
});
I understand there are other regions too, though this covers 99% of what I use WoL for - so I just didn't care