DealerSenha

Altera o campo de senha na tela de login para password, para permitir que o navegador complete a senha.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         DealerSenha
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Altera o campo de senha na tela de login para password, para permitir que o navegador complete a senha.
// @author       Igor Lima
// @match        https://*.dealernetworkflow.com.br/LoginAux.aspx*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Usa um timer para verificar repetidamente o campo de entrada
    const interval = setInterval(() => {
        const inputField = document.getElementById("vUSUARIOSENHA_SENHA");

        if (inputField) {
            // Altera o tipo para 'password'
            inputField.type = "password";
            console.log("Tipo do campo de entrada alterado para password.");

            // Para o intervalo assim que o campo for encontrado e modificado
            clearInterval(interval);
        }
        else {
            console.log("Campo não encontrado, tentando novamente em 100ms");
        }
    }, 100); // Verifica a cada 100ms
})();