Show password when mouseover a password field
Od
// ==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);
})();