Palderon / TikTok Live Chat Enlarger

// ==UserScript==
// @name         TikTok Live Chat Enlarger
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Enlarge Chat
// @author       Rob Lapham
// @match        https://www.tiktok.com/*
// @icon         https://www.google.com/s2/favicons?domain=tiktok.com
// @grant        none
// @license MIT
// ==/UserScript==

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('.live-sdk-wrap.jsx-2225718495 .chat.jsx-2225718495 { width: 600px !important; }');
addGlobalStyle('.webcast-chatroom { width: 600px !important; }');
addGlobalStyle('.webcast-chatroom .content { font-size: 50px !important; line-height: 50px !important; }');
addGlobalStyle('.webcast-chatroom__chat-message .chat-message-item { width: 550px !important; }');
addGlobalStyle('.nickname { font-size: 25px !important; }');
addGlobalStyle('.webcast-chatroom__chat-message { padding: 25px 32px 25px 12px !important; line-height: 50px !important; }');
addGlobalStyle('.nickname { font-size: 25px !important;  }');