Make in-game chat messages selectable

Simple bonk.io mod that allows you to select chatbox message content in-game.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo 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         Make in-game chat messages selectable
// @version      0.1
// @author       SneezingCactus
// @namespace    https://github.com/SneezingCactus
// @description  Simple bonk.io mod that allows you to select chatbox message content in-game.
// @match        https://*.bonk.io/gameframe-release.html
// @license      MIT
// ==/UserScript==
(function() {
    'use strict';

    const style = document.createElement('style');
    style.innerHTML = '#ingamechatcontent { pointer-events: all; } .ingamechatname, .ingamechatmessage { user-select: text; }';
    document.head.appendChild(style);
})();