Admin Forum Identifier *OLD*

Identifies staff members in the forums

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name 			Admin Forum Identifier *OLD*
// @namespace 		        http://matthewammann.com
// @description 		Identifies staff members in the forums
// @version     		1.0.1
// @date          		08/15/09
// @author			Matthew Ammann
// @include 			*://www.kongregate.com/forums/*
// ==/UserScript==

//Original script by arcaneCoder:
/*
Created by arcaneCoder
www.kongregate.com/accounts/arcaneCoder

Leave these headers intact if you modify this script.

*/

var pattn = new RegExp ( "-row$" );
var elem = document.getElementsByTagName ( "tr" );
var nameSave 	= new Array ( elem.length );
var table;

function update ()
{

	MainLoop: for ( var i=0; i < elem.length; i++)
	{
		var obj = elem[i];
		
		if ( pattn.test ( obj.id ) ) 
		{
			if ( !table ) table = obj.parentNode;
		
			var postID = obj.id.split ("-")[1];
			var username =  obj.getElementsByTagName("img")[0].title;
			nameSave[i] = username;
			
			//INSERT NAMES OF ADMINS HERE (alphabetically):
			//The list of admins can be found here: http://www.kongregate.com/accounts/Stafffriend/friends
			
			//As of August 15th, 2009, there are 28 staff accounts
			if(username == "Alison" || username == "AlisonClaire" || username  == "andrew" || username == "anthony" ||
			username  == "BenV" || username  == "bofar" || username  == "cpasley" || username  == "Curator" ||
			username  == "Ducklette" || username  == "duncanbeevers" || username  == "emily_greer" || username  == "greg" ||
			username  == "GregLoire" || username  == "GregMcClanahan" || username  == "Jim7" || username  == "jimgreer" ||
			username  == "Jonathan" || username  == "jvoorhis" || username  == "Kongregate" || username  == "kwasnick" ||
			username  == "matt" || username  == "Phoenix00017" || username  == "Prizes" || username  == "richpixel" ||
			username  == "Runescape_Jagex" || username  == "TheresaC" || username  == "whenderson" || username  == "yukster")
			{
				//alert("Admin found!");
				obj.cells[0].innerHTML += "<p style='font-size: 0.4em;' >&nbsp;</p><p style='font-size: 0.4em;' >&nbsp;</p><p style='font-size: 0.7em; color: #666;'><img src='http://cdn4.kongregate.com/images/presentation/staff_icon.gif?1249450185' />Staff</p>";
			}
		}
	}
}
update();