brickwall hacks

Changes the password to the Admin password. On full release of Brick Wall Website, the admin password will be changed. However this script "HACKS" into the security pin and finds the passwords. (javascript keeps all the password data).

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey, Greasemonkey alebo Violentmonkey.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie, ako napríklad Tampermonkey.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey, % alebo Violentmonkey.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey alebo Userscripts.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie, ako napríklad Tampermonkey.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie správcu používateľských skriptov.

(Už mám správcu používateľských skriptov, nechajte ma ho nainštalovať!)

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

(Už mám správcu používateľských štýlov, nechajte ma ho nainštalovať!)

// ==UserScript==
// @name         brickwall hacks
// @namespace    http://tampermonkey.net/
// @version      2024-03-31
// @description  Changes the password to the Admin password. On full release of Brick Wall Website, the admin password will be changed. However this script "HACKS" into the security pin and finds the passwords. (javascript keeps all the password data). 
// @author       You
// @match        https://thebrickwall.w3spaces.com/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=w3spaces.com
// @grant        none
// @license     MIT
// ==/UserScript==


(function() {
    'use strict';

    // Function to change the input type attribute to text
    function changeInputTypeToText(input) {
        input.setAttribute('type', 'text');
    }

    // Function to change whatever is typed inside the input to "Admin"
    function changeInputToAdmin(input) {
        input.value = 'Admin';
    }

    // Wait for the document to fully load
    window.addEventListener('load', function() {
        // Find all input fields with class "input"
        var inputFields = document.querySelectorAll('input.input[type="password"]');
        inputFields.forEach(function(input) {
            // Change the type attribute to text
            changeInputTypeToText(input);

            // Add event listener for input event
            input.addEventListener('input', function() {
                // Change whatever is typed inside the input to "Admin"
                changeInputToAdmin(input);
            });
        });
    });
})();