Muted and Away Colour Fix

Fixes users who are both muted and AFK from appearing as though they are silenced.

  1. // ==UserScript==
  2. // @name Muted and Away Colour Fix
  3. // @author skyboy
  4. // @version 1.0.0
  5. // @description Fixes users who are both muted and AFK from appearing as though they are silenced.
  6. // @include http://www.kongregate.com/games/*/*
  7. // @homepage http://userscripts.org/scripts/show/72292
  8. // @namespace https://greasyfork.org/users/32649
  9. // ==/UserScript==
  10. if (/^\/?games\/[^\/]+\/[^\/?]+(\?.*)?$/.test(window.location.pathname))
  11. setTimeout(function() {
  12. window.location.assign("javascript:$(\"gamepage_header\").innerHTML+=\"<style>#kong_game_ui .user_row.away.muted .username{color:#844 !important}</style>\";void(0);");
  13. }, 1250);