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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==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>`;

})();