MTurkGrind Gender Reassignment

Display your choice of custom note/title under specified members' usernames. Can be used for reminders of people's genders, or anything else.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         MTurkGrind Gender Reassignment
// @author       Kerek
// @namespace    Kerek
// @version      0.2x
// @description  Display your choice of custom note/title under specified members' usernames. Can be used for reminders of people's genders, or anything else.
// @include             http://www.mturkgrind.com/*
// @include             http://mturkgrind.com/*
// @require		http://code.jquery.com/jquery-latest.min.js
// @grant       GM_log
// @copyright    2014
// ==/UserScript==

// v0.2x, 2015-01-17: updates by clickhappier for MTG migration from vbulletin to xenforo

var users = {

ZinGy:"guy", 
Blue:"guy", 
TissueHime:"guy", 
Jaded:"girl",
electrolyte:"girl",
Skye:"girl",
jekjek:"guy", 
aveline:"girl",
kryssyy:"girl",
jml:"guy", 
Kerek:"guy", 
'J D':"guy",
AngryRobotsInc:"girl"

// etc. Be sure to capitalize the names appropriately. Names with spaces require single-quotes. No comma after the final user.

};

$('div.messageUserInfo').each(function(){
	var n = $(this).find('a.username').eq(0);
	if (users[n.text()])
		$(this).find('a.username').last().after('<p><i>' + users[n.text()] + '</i></p>');
});