Twitter - Match username with user color

Change the color of the username to match with the desired user color

目前為 2015-07-17 提交的版本,檢視 最新版本

// ==UserScript==
// @name           Twitter - Match username with user color
// @version        1.3
// @namespace      https://greasyfork.org/users/11517
// @homepageURL    https://greasyfork.org/scripts/9952
// @require        https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @description    Change the color of the username to match with the desired user color
// @include        /^https?://twitter.com
// @author         hzmen1
// @license        (CC) by-nc-sa 3.0
// @run-at         document-end
// ==/UserScript==

$('.ProfileHeaderCard-nameLink').removeClass('u-textInheritColor');
$('.ProfileHeaderCard-location').addClass('u-textUserColor');
$('.DashboardProfileCard-name').addClass('u-textUserColor');
$('.Icon--person').addClass('u-textUserColor');
$('.PhotoRail-heading').addClass('u-textUserColor');
$('.ProfileHeaderCard-joinDate').addClass('u-textUserColor');
$('.ProfileHeaderCard-url').addClass('u-textUserColor');
$('.ProfileHeaderCard-birthdate').addClass('u-textUserColor');
$('.ProfileAvatar').addClass('u-borderUserColor');