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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

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

})();