THIS IS A STATIC MIRROR OF USERSCRIPTS.ORG - LOGINS DO NOT WORK

Show Password On Mouse Over

By X-Chotic's Last update Dec 22, 2013 — Installed 1,160 times.

There are 4 previous versions of this script.

// ==UserScript==
// @name		Show Password On Mouse Over
// Last Edited		December 2013
// ==/UserScript==

/*
This script was modified in December 2013.
While the original version is I do not know anymore who the creator.
I'm Sorry...!
*/

window.setTimeout(function() {
  var passFields = document.querySelectorAll("input[type='Password']");
  if (!passFields.length) return;
  for (var i = 0; i < passFields.length; i++) {
    passFields[i].addEventListener("mouseover", function() {
      this.type = "Text";
    }, false);
    passFields[i].addEventListener("mouseout", function() {
      this.type = "Password";
    }, false);
  }
}, 1000)