Treasury Direct Password Enabler
Extension Actions
CRX ID
pkhnccdfachabehkfjjhedgafjbaffmi
Description from extension meta
Allows you to type your password on treasurydirect.gov
Image from store
Description from store
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");
}
});
Latest reviews
- Andrew Kump
- Works great!
- Andrew Kump
- Works great!
- Grant Forrest
- I checked the source code and it's exactly as stated, so this is safe. And it removes a major annoyance! Appreciate it.
- Grant Forrest
- I checked the source code and it's exactly as stated, so this is safe. And it removes a major annoyance! Appreciate it.