Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save anyheck/9b882f631e79157b37b9f5bc9d64f9a7 to your computer and use it in GitHub Desktop.
Save anyheck/9b882f631e79157b37b9f5bc9d64f9a7 to your computer and use it in GitHub Desktop.
Re-enables the password box on TreasuryDirect.gov so I can paste from my password manager
// ==UserScript==
// @name TreasuryDirect Copypasta
// @namespace https://www.treasurydirect.gov/RS/PW-Display.do
// @version 0.1
// @description Allow creds to be pasted from a password manager into the TreasuryDirect login form.
// @author Dennis Stewart
// @license The Strong Style Public License https://raw.githubusercontent.com/dennisstewart/cvs-checker-py/main/LICENSE
// @match https://www.treasurydirect.gov/RS/PW-Display.do
// @icon https://www.google.com/s2/favicons?sz=64&domain=treasurydirect.gov
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.querySelector("input[class='pwordinput']").removeAttribute("readonly");
//thanks Jan Biniok(Tampermonkey dev) and Büchner Matthias (tutorial video maker - https://www.youtube.com/watch?v=hAeWOOJPp0o)
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment