TreasuryDirect Password Enable

By Vanson Samuel Last update Jun 9, 2007 — Installed 435 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 5 posts, 3 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Vanson Samuel Script's Author

Oops, I see what happening, and I made the fixes.

 
Vanson Samuel Script's Author

Hi John,
Thanks for commenting. The XPath (/html/body/div[@id='content']/form[@id='Login']/table/tbody/tr[2]/td[2]/input) work just fine for me. I will make it more general when I get the chance.

 
John M. Dlugosz Scriptwright

As I feared, the exact xpath has changed! It is now "/html/body/div[@id='content']/form[@id='Login']/table[2]/tbody/tr/td[2]/input"

It would be better if it just found whatever INPUT element had type="password", anywhere in the document.

 
John M. Dlugosz Scriptwright

I signed up on treasurydirect.gov, and the manditory on-screen randomized keyboard is utterly ridiculus! I found it could be enabled with Forms|Enable Form Fields on the web developer toolbar. Before making a script, I checked and found it already done. The code is simple and to the point: locate the item and change the property. Perhaps too specialized...if they change the page much it might not work. I'd have located the field by finding the disabled password box, without caring where it was.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel