All Things Patrick - Working Hard to be Lazy!

  • home
  • blog
  • links
Home › Blogs › patrick's blog

Annoying Failure to Auto-Complete

patrick — Sun, 2009-06-21 16:27

I've not bothered much with the adobe groups website... Partly because I don't use adobe products, but also because Adobe is using the autocomplete="off" attribute on the password input field... This means due to my already decreased interest in actually using the website this makes it even more of a pain to do things that *should* be very very *simple* like saying "Yes, I do want to go to <CFLunch/>".

Considering all I do with my adobe groups account is RSVP for these & considering I only sign up for them on *my* computer... Does adobe really need to go to this annoying extent to chase me away?

Yay for greasemonkey.

I found a dreadfully simple greasemonkey script to do the trick, but it wouldn't really handle a range of forms and didn't have any validation checks (does the form really exist? does that form element really let you set an attribute?).

The way greasemonkey for firefox is set up it only works on the sites you specify anyways... So if you do want it on certain other sites (like your banking site), don't add the URL to the list...

Please note that this will go through all forms on the given page & check to see if either the form or any of the form elements have the autocomplete attribute set - if so it should turn the attribute back on.

The name I gave this was Enable Login Forms.

The namespace http://blog.whitelionsoft.com/.

And currently the only page to include this script on is https://www.adobe.com/cfusion/entitlement/index.cfm?e=ca&returnUrl=http://groups.adobe.com/groups/4b06154553/summary.


for ( var i in document.forms ) {
var frm = document.forms[i];
if ( frm.autocomplete && frm.setAttribute ) {
frm.setAttribute( 'autocomplete', 'on' );
}
for ( var j in frm.elements ) {
var ele = frm.elements[j];
if ( ele.autocomplete && ele.setAttribute ) {
ele.setAttribute( 'autocomplete', 'on' );
}
}
}

Trackback URL for this post:

http://blog.whitelionsoft.com/trackback/103
  • Browsers
  • Firefox
  • JavaScript
  • patrick's blog
  • Add new comment

User login

What is OpenID?
Connect
Sign in using Facebook
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Pages

  • About Me
  • About My Boxen
  • Quotes
  • 3d Graphics
  • Color Picker App
  • Resume
  • dailymile
  • facebook
  • twitter

Tags in Tags

CSS Design Development Entertainment EVE-Online Firefox Freelance Friends Games Hardware HTML Internet Explorer JavaScript Job Movies & TV Operating Systems Personal PHP Windows YouTube
more tags

Blogroll

  • 456 Berea Street
  • Anne van Kesteren’s Weblog
  • Clients From Hell
  • Derick Rethans' blog
  • Doug Seitz
  • Eric Meyer
  • The FAIL Blog

Powered by Drupal, an open source content management system
  • home
  • blog
  • links