Show Password

try to take over the world!

Stan na 05-03-2021. Zobacz najnowsza wersja.

// ==UserScript==
// @name         Show Password
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        *://*/*
// @grant        none
// @require      http://code.jquery.com/jquery-3.5.1.min.js
// ==/UserScript==

(function() {
    'use strict';
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = 'http://code.jquery.com/jquery-3.5.1.min.js';
    document.head.appendChild(script);

    $('input[type=password]')
    .focus(function(){
        $(this).attr('type', 'text');
    })
    .blur(function(){
        $(this).attr('type', 'password');
    });

})();