Allows you to type your password on treasurydirect.gov
A super tiny and simple script to automatically remove the "read-only" flag from the password field on TreasuryDirect.com, allowing you to type your password or use a password manager instead of using the cumbersome onscreen keyboard.
The entire source for this extension is:
window.addEventListener("load", () => {
const input = document.getElementsByClassName("pwordinput").item(0);
const keyboard = document.getElementById("virtual_keyboard");
if (input && keyboard) {
input.readOnly = false;
input.style.backgroundColor = "white";
keyboard.remove();
console.log("Password field is no longer read-only");
} else {
console.log("Password enabler failed");
}
});