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

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

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

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

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