COMMCENT QoL Changes

Adds quality of life changes to the Galactic Empire's COMMCENT forum. Changes include but are not limited to color changes, font changes, and layout changes. This script is not affiliated with the Galactic Empire, LucasArts, or SWCombine. Use at your own risk.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         COMMCENT QoL Changes
// @namespace    https://commcent.swc-empire.com/
// @version      1.1
// @description  Adds quality of life changes to the Galactic Empire's COMMCENT forum. Changes include but are not limited to color changes, font changes, and layout changes. This script is not affiliated with the Galactic Empire, LucasArts, or SWCombine. Use at your own risk.
// @author       code-syl
// @match        https://commcent.swc-empire.com/*
// @icon         https://commcent.swc-empire.com/favicon.ico
// @grant        none
// @license      MIT
// ==/UserScript==

(function () {
    "use strict";

    // For better readability on the forum
    const textColorChangesStyles = `
            a *, a {
                color: #c9c9c9 !important;
            }
            
            div.postbody div div.content {
                color: #ffffff !important;
            }

            div.postbody div div.signature {
                color: #c9c9c9 !important;
            }
    `;

    let textColorChangesStyleSheet = document.createElement("style");
    textColorChangesStyleSheet.innerText = textColorChangesStyles;
    textColorChangesStyleSheet.setAttribute("author", "Alani Myrtel");
    textColorChangesStyleSheet.setAttribute(
        "description",
        "text color changes"
    );

    document.head.appendChild(textColorChangesStyleSheet);
})();