RIC0H / Cloud Pirates Forum Script

// ==UserScript==
// @name         Cloud Pirates Forum Script
// @namespace    Cloud Pirates Forum Script
// @description  [outdated - do not use] Adds staff colours to the cloud pirates forum
// @include      https://pirates.my.com
// @include      https://pirates.my.com/*
// @version      3.9
// @author       RIC0H
// @grant        none
// @run-at       document-start
// @license      MIT
// @updateURL    https://openuserjs.org/src/scripts/RIC0H/Cloud_Pirates_Forum_Script.user.js
// @downloadURL  https://openuserjs.org/src/scripts/RIC0H/Cloud_Pirates_Forum_Script.user.js
// ==/UserScript==

// allow pasting

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);
}

    /* Moderator Posts */
addGlobalStyle('.wbbPost.message.messageSidebarOrientationLeft.dividers.jsClipboardObject.jsMessage.userOnlineGroupMarking5 {background-color:#D7E0D3;}'
    /* Staff Posts */
+ '.wbbPost.message.messageSidebarOrientationLeft.dividers.jsClipboardObject.jsMessage.userOnlineGroupMarking7 {background-color:#D3DBE0;}'
+ '.wbbPost.message.messageSidebarOrientationLeft.dividers.jsClipboardObject.jsMessage.userOnlineGroupMarking9 {background-color:#D3DBE0;}'
+ '.wbbPost.message.messageSidebarOrientationLeft.dividers.jsClipboardObject.jsMessage.userOnlineGroupMarking13 {background-color:#D3DBE0;}'
    /* Master Posts */
+ '.wbbPost.message.messageSidebarOrientationLeft.dividers.jsClipboardObject.jsMessage.userOnlineGroupMarking14 {background-color: #E1D4D4;}'
    /* Norm Posts */
+ '.wbbPost.message.messageSidebarOrientationLeft.dividers.jsClipboardObject.jsMessage {background-color:#EEEBEB;}'
/* Name Colours */  
+ 'a.userLink {color: #444;}'
/* Staff */
//+ 'a.userLink[data-user-id="1477"] {color: #013ADF;}' //Omega
//+ 'a.userLink[data-user-id="5"] {color: #013ADF;}'    //Reira              
//+ 'a.userLink[data-user-id="8"] {color: #013ADF;}'    //Drakdish              
//+ 'a.userLink[data-user-id="6"] {color: #013ADF;}'    //Drew              
//+ 'a.userLink[data-user-id="4"] {color: #013ADF;}'    //Barusu              
//+ 'a.userLink[data-user-id="67"] {color: #013ADF;}'   //KillShift              
//+ 'a.userLink[data-user-id="24"] {color: #013ADF;}'   //CptFancyPants              
//+ 'a.userLink[data-user-id="73"] {color: #013ADF;}'   //Firo              
//+ 'a.userLink[data-user-id="4629"] {color: #013ADF;}' //u_10034123              
//+ 'a.userLink[data-user-id="1587"] {color: #013ADF;}' //u_4951975              
//+ 'a.userLink[data-user-id="2"] {color: #013ADF;}'    //Justus         
//+ 'a.userLink[data-user-id="3"] {color: #013ADF;}'    //Mhuldoon     
//+ 'a.userLink[data-user-id="501"] {color: #013ADF;}'  //Silentstalker 
//+ 'a.userLink[data-user-id="11976"] {color: #013ADF;}' //Nyazoi
//+ 'a.userLink[data-user-id="11730"] {color: #013ADF;}' //MUTE
//+ 'a.userLink[data-user-id="112"] {color: #013ADF;}' //Chibs
//+ 'a.userLink[data-user-id="1181"] {color: #013ADF;}' //Kaeden
//+ 'a.userLink[data-user-id="13042"] {color: #013ADF;}' //Enelimm
//+ 'a.userLink[data-user-id="13434"] {color: #013ADF;}' //Peligro
/* Mod */              
//+ 'a.userLink[data-user-id="906"] {color: #088A08;}'  //Kurtcobain
//+ 'a.userLink[data-user-id="1007"] {color: #088A08;}' //Lioo               
//+ 'a.userLink[data-user-id="11"] {color: #088A08;}'   //Gladia               
//+ 'a.userLink[data-user-id="5903"] {color: #088A08;}' //EvilWheels
//+ 'a.userLink[data-user-id="5552"] {color: #088A08;}' //Mouse
//+ 'a.userLink[data-user-id="1383"] {color: #088A08;}' //TwistedX
/* Master */
//+ 'a.userLink[data-user-id="3771"] {color: #8A0808;}' //FreeShipping
)