Poorchat na kick.com/wonziu

Podmienia czat Kicka na Poorchat u Wonzia (poorchat.net jadisco.pl pancernik.info Wonziu)

Versione datata 09/03/2025. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Poorchat na kick.com/wonziu
// @description  Podmienia czat Kicka na Poorchat u Wonzia (poorchat.net jadisco.pl pancernik.info Wonziu)
// @version      1.0.3
// @author       Pabli
// @license      MIT
// @homepageURL  https://greasyfork.org/scripts/518121-poorchat-na-kick-com-wonziu
// @supportURL   https://greasyfork.org/scripts/518121-poorchat-na-kick-com-wonziu/feedback
// @namespace    https://github.com/pabli24
// @match        https://kick.com/*
// @icon         data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIGZpbGw9IiM1M2ZjMTgiIHN0cm9rZT0iIzUzZmMxOCIgc3Ryb2tlLXdpZHRoPSIwIiB2aWV3Qm94PSItNiAtNiA3MiA3MiI+PHJlY3Qgd2lkdGg9IjcyIiBoZWlnaHQ9IjcyIiB4PSItNiIgeT0iLTYiIGZpbGw9IiMxNDE1MTciIHN0cm9rZT0ibm9uZSIgcng9IjAiLz48ZyBzdHJva2U9Im5vbmUiPjxwYXRoIGQ9Ik0yNiA5LjZDMTEuNyA5LjYgMCAyMCAwIDMzYzAgNC41IDEuNCA4LjkgNC4xIDEyLjYtLjUgNS42LTEuOSA5LjctMy44IDExLjdBMSAxIDAgMCAwIDEgNTljLjQgMCA4LjUtMS4yIDE0LjQtNC42IDMuMyAxLjMgNi44IDIgMTAuNSAyQzQwLjMgNTYuNCA1MiA0NiA1MiAzM1M0MC4zIDkuNiAyNiA5LjZ6Ii8+PHBhdGggZD0iTTU1LjkgMzdjMi43LTMuNyA0LjEtOCA0LjEtMTIuNkM2MCAxMS41IDQ4LjMgMSAzNCAxYy04LjIgMC0xNiAzLjYtMjAuOCA5LjRBMzAgMzAgMCAwIDEgMjYgNy42QzQxLjQgNy42IDU0IDE5IDU0IDMzYzAgNS41LTIgMTAuNi01LjIgMTQuOEE1Mi4zIDUyLjMgMCAwIDAgNTkgNTAuNGExIDEgMCAwIDAgLjctMS43Yy0yLTItMy4zLTYtMy44LTExLjd6Ii8+PC9nPjwvc3ZnPg==
// @grant        GM_registerMenuCommand
// ==/UserScript==

const observer = new MutationObserver(mutations => {
	const path = window.location.pathname;
	if (path !== "/wonziu" && !path.startsWith("/wonziu/")) return;

	const chat = document.getElementById("channel-chatroom");
	if (!chat || chat.dataset.poorchat) return;

	chat.dataset.poorchat = true;
	chat.innerHTML = `<iframe src="https://poorchat.net/channels/jadisco" style="width:100%; height:100%; border:none; position: relative;" allow="fullscreen; encrypted-media" allowfullscreen=""></iframe>`;
})
observer.observe(document.body, { childList: true, subtree: true });

const windowFeatures = "width=400,height=800,menubar=no,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=no";
GM_registerMenuCommand("Otwórz Poorchat w nowym oknie", () => window.open("https://poorchat.net/channels/jadisco", "_blank", windowFeatures));
GM_registerMenuCommand("Otwórz czat z Kicka w nowym oknie", () => window.open("https://kick.com/popout/wonziu/chat", "_blank", windowFeatures));
GM_registerMenuCommand("Otwórz live na YouTube", () => window.open("https://www.youtube.com/channel/UCYN3DEMx3v31t5_ll3R0a5Q/live", "_blank"));
GM_registerMenuCommand("Otwórz Jadisco.pl", () => window.open("https://jadisco.pl/", "_blank"));