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");
}
});
Latest reviews
- (2023-02-28) Andrew Kump: Works great!
- (2023-01-19) 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.
Statistics
Installs
13
history
Category
Rating
5.0 (3 votes)
Last update / version
2023-01-06 / 1.0
Listing languages
en-US