Bonk.io global chat

Replaces the text at the bottom of the page with an IRC client that allows Bonk.io to have a global chat! You can also use the webpage at https://web.libera.chat/gamja/?nick=Guest#bonkio

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Bonk.io global chat
// @namespace    reactoimpcact
// @version      2024-08-03
// @description  Replaces the text at the bottom of the page with an IRC client that allows Bonk.io to have a global chat! You can also use the webpage at https://web.libera.chat/gamja/?nick=Guest#bonkio
// @author       Reactoimpact
// @match        https://bonk.io/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=bonk.io
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';


    // loads an iframe to the IRC client by librachat thats hosted by Liberachat from https://libera.chat/guides/webchat
    // The channel is made by me (reactoimpact)
    // if you have any questions you can find me on the chat or visit the website version of the webchat https://web.libera.chat/gamja/?nick=Guest#bonkio
    // :)


    // Not that much code tbh
    document
        .getElementById('descriptioncontainer')
        .innerHTML = `<iframe src="https://web.libera.chat/?nick=Guest?#bonkio" style="border:0; width:850px; height:1046px;"></iframe>`;

})();