Player Spawned Extension (Public)

Adds emojis to track which players are spawned in game

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         Player Spawned Extension (Public)
// @description  Adds emojis to track which players are spawned in game
// @icon         https://www.google.com/s2/favicons?domain=shellshock.io
// @author       adamhasanx + midnight
// @match        *://shellshock.io/*
// @run-at       document-start
// @grant        none
// @namespace    none
// @version      3.0
// ==/UserScript==

window.XMLHttpRequest = class extends window.XMLHttpRequest {
    constructor() {
        super(...arguments)
    }

    open() {
        (arguments[1]?.includes('shellshock.js') && (this.m = !0), super.open(...arguments))
    }

    get response() {
        if (this.m) {
            let x = super.response

            const y = [/themClass\[(\w).team\]}`,\w.innerText=/, /this.playing=!1/, /this.playing=!0/].map(z => x.match(z))

            for (let [a, b] of y) { x = x.replace(a, a + (b ? b + `.playing ? '🟢' : '⭕'; window.rebuildPlayerList = arguments.callee;` : `,typeof window.rebuildPlayerList == "function" && window.rebuildPlayerList()`)) }; return x

        }; return super.response
    }
}