fixes issue with kick ui that breaks 7TV
// ==UserScript==
// @name 7TV Kick Fix - Missing Title Attribute
// @description fixes issue with kick ui that breaks 7TV
// @match https://kick.com/*
// @match https://www.kick.com/*
// @author Zeul
// @run-at document-start
// @license MIT
// @version 0.0.1.20260330213204
// @namespace https://greasyfork.org/users/1558859
// ==/UserScript==
new MutationObserver(mutations => {
mutations.forEach(m => {
m.addedNodes.forEach(node => {
if (node instanceof HTMLElement) {
const btns = node.querySelectorAll('div.inline-flex > button.font-bold:not([title])');
btns.forEach(btn => {
btn.setAttribute('title', btn.textContent.trim());
});
}
});
});
}).observe(document.documentElement, { childList: true, subtree: true });