Avaiable player color

try to take over the world!

As of 2020-04-12. See the latest version.

// ==UserScript==
// @name         Avaiable player color
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  try to take over the world!
// @author       You
// @match        *webcamdarts*
// @match        https://www.webcamdarts.com/GameOn/Lobby
// @match        webcamdarts
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
function addGlobalStyle(css) {
   var head, style;
   head = document.getElementsByTagName('head')[0];
   if (!head) { return; }
   style = document.createElement('style');
   style.type = 'text/css';
   style.innerHTML = css;
   head.appendChild(style);
}
    addGlobalStyle(' #current-user.available, .userli.available { background-color: #4b560d60; }');
    addGlobalStyle('#current-user.busy, .userli.busy { background-color: #ff000030; }');

})();