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

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

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

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