I think this could be a nice feature to add to the website so everyone could enjoy it.
For anyone interested, here is the part of the script that does the job:
+ Show Spoiler +
// ==UserScript==
// @name TeamLiquid.net styles
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Tweak TeamLiquid.net styles
// @author Juho Nieminen
// @match https://tl.net/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js
// ==/UserScript==
/* jshint -W097 */
"use strict";
$(document).ready(function () {
$(".ev-stream").each(function () {
var viewersCount = 0;
$(this)
.find("span[title='Viewers']")
.each(function () {
viewersCount += Number($(this).text());
});
if (viewersCount) {
$(this).append(
"<div style='font-weight: bold'><span>TOTAL</span><span>" + viewersCount + "</span></div>"
);
}
});
});
// @name TeamLiquid.net styles
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Tweak TeamLiquid.net styles
// @author Juho Nieminen
// @match https://tl.net/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js
// ==/UserScript==
/* jshint -W097 */
"use strict";
$(document).ready(function () {
$(".ev-stream").each(function () {
var viewersCount = 0;
$(this)
.find("span[title='Viewers']")
.each(function () {
viewersCount += Number($(this).text());
});
if (viewersCount) {
$(this).append(
"<div style='font-weight: bold'><span>TOTAL</span><span>" + viewersCount + "</span></div>"
);
}
});
});
Cheers.