Change Discord User Colour

Change colour of a username in Discord.

当前为 2016-07-23 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Change Discord User Colour
  3. // @namespace PXgamer
  4. // @version 0.1
  5. // @description Change colour of a username in Discord.
  6. // @author PXgamer
  7. // @include *discordapp.com/channels/*
  8. // @require https://code.jquery.com/jquery-3.1.0.min.js
  9. // @grant none
  10. // ==/UserScript==
  11. /*jshint multistr: true */
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. var username = 'pxgamer'; // Username
  17. var colour = 'aqua'; // Colour to set the users name to.
  18. var timetowait = 5; // Time to wait in seconds, depends on your internet speed.
  19.  
  20. setTimeout(function() {
  21.  
  22. $('.user-name:contains("'+username+'")').each(function(){$(this).css('color',colour);});
  23. console.log('Complete');
  24. }, timetowait*1000);
  25. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址