This repo has been archived since the administrators of TreasuryDirect have finally come to their senses and disabled the virtual keyboard as of May 2023.
A simple userscript to allow you to log into TreasuryDirect in a sane fashion
Using your usercript manager of choice (I recommend ViolentMonkey), find the dashboard section that allows you to either install from URL or write a new userscript. If installing from URL, use this URL:
https://raw.githubusercontent.com/scottmconway/Treasury-Direct-Mutable-Password-Userscript/main/treasury_direct_mutable_password.js
Else, you can copy-paste the userscript into the userscript editor.
That's it! You should now be able to actually type in your password, or auto-fill from a password manager.