Warning: fopen(/www/sites/greasyfork.cloud/index/store/forever/34bb8de703590a12c3be01b267d42b41.html): failed to open stream: No space left on device in /www/sites/greasyfork.cloud/index/scriptsControl.php on line 127
Twitter - Match username with user color - 源代码

Greasy Fork

Twitter - Match username with user color

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

当前为 2015-07-15 提交的版本,查看 最新版本

// ==UserScript==
// @name           Twitter - Match username with user color
// @version        1.2
// @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');
$('.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');