Greasy Fork is available in English.

Show Password on MouseOver

Show password when mouseover a password field

// ==UserScript==
// @name          Show Password on MouseOver
// @namespace     MickyFoley
// @description   Show password when mouseover a password field
// @version       1.0
// @author        MickyFoley
// @license       free
// @include       *
// @grant         none
// ==/UserScript==

(function() {
  function showPasswordOnMouseOver(event) {
    var target = event.target;
    if (target.tagName === "INPUT" && target.type === "password") {
      target.setAttribute("type", "text");
      target.addEventListener("mouseleave", function() {
        target.setAttribute("type", "password");
      }, { once: true });
    }
  }

  document.addEventListener("mouseover", showPasswordOnMouseOver, false);
})();