3 ms·
The login form on TreasuryDirect is cancer. - They split the form into two parts: Username/Account-Number and Password. - The Username field disables autofill
by geekrax 8y ago
The login form on TreasuryDirect is cancer.
- They split the form into two parts: Username/Account-Number and Password.
- The Username field disables autofill.
- The password field on the next page has a virtual keyboard. No autofill, the field is readonly.
I have been using this bookmarklet to "fix" these fields and let the password manager work on these fields:
javascript:document.querySelector("input[autocomplete='off']").removeAttribute('autocomplete');document.querySelector("input[readonly]").removeAttribute('readonly');
- rblatz 8y agoI came here to specifically complain about TreasuryDirect. Thanks for the bookmark fix. I've just been going in to devtools and manually deleting the readonly. This will save me time and frustration.
- clintonb 8y agoNice! I also wrote a script, but yours is much safer. ``` var s = 'PASSWORD'; for ( var i = 0; i < s.length; i++ ) { PasswordVK(s.charAt(i)); } ```