Visual Bricks Changer

Shows Fake polytoria Bricks/Studs to troll

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

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

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!)

Advertisement:

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!)

Advertisement:

// ==UserScript==
// @name         Visual Bricks Changer
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  Shows Fake polytoria Bricks/Studs to troll
// @author       Absayno/Xavior S/Voo
// @match        https://polytoria.com/*
// @license MIT
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @UpdateCredits v1.0 Xavior S] v1.1 absayno]Voo]
// ==/UserScript==
console.log('|VBC Working 1.2|');
(function() {
    'use strict';

    const FAKE_BRICKS = "1,000,000"; // change this to whatever you want
    const FAKE_STUDS = "1,000,000";  // change this to whatever you want

    function updateCurrencies() {
        // Bricks
        const brickEl = document.querySelector(".brickBalanceCount");
        if (brickEl) {
            brickEl.textContent = FAKE_BRICKS;
        }

        // Studs
        const studsEl = document.querySelector(".studsBalanceCount");
        if (studsEl) {
            studsEl.textContent = FAKE_STUDS;
        }
    }

    // By absayno/voo/Xavior S
    updateCurrencies();
    setInterval(updateCurrencies, 1000);
})();