maingeot / webcamdarts game result lobby hide

// ==UserScript==
// @name         webcamdarts game result lobby hide
// @namespace    https://greasyfork.org/fr/users/505971-antoine-maingeot
// @name:fr      webcamdarts masquer resultat lobby
// @description:fr masquer les resultats de smatchs dans le lobby
// @version      0.2
// @description  don't display detail game result
// @author       You
// @match        *webcamdarts*
// @match        https://www.webcamdarts.com/GameOn/Lobby
// @grant        none
// @license MIT

// ==/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('.game-result { display: none; }');
})();