Visual Bricks Changer

Shows Fake polytoria Bricks/Studs to troll

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

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

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

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

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

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

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

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.

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

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);
})();