Skip to content
Treasury Direct Password Enabler

Treasury Direct Password Enabler

by kramertechpublishing
5.0
3 reviews
18
users
Published
January 6, 2023

Screenshots

Treasury Direct Password Enabler screenshot 1

Description

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

Quick Info

Version
1.0
Size
3.8KiB
Price
Free
Type
Extension

Categories

Languages

English (United States)