Amazon GoSearch New DOC New XLS New PPT

OffiDocs favicon

Treasury Direct Password Enabler in Chrome with OffiDocs

Treasury Direct Password Enabler  screen for extension Chrome web store in OffiDocs Chromium

Ad


DESCRIPTION


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");
}
});

Treasury Direct Password Enabler web extension integrated with the OffiDocs Chromium online


Run Chrome Extensions

Ă—
Advertisement
❤️Shop, book, or buy here — no cost, helps keep services free.