Google Toolbar Part IV

December 27, 2004

Google Toolbar Part IV

I've updated my Google AutoFill override script to work with the latest version of the Google Toolbar. Thanks to Chris Sefton for pointing out it was broken. Apparently AutoFill now waits one second before changing the color of form elements. This broke my script, since it worked on the assumption that AutoFill did its damage before the onload event was fired.

Chris came up with a fix that causes the script to wait a second before running. While this is fine, I opted for a different approach that would work regardless of the delay. The new script now uses the onpropertychange event to listen for any changes to the form elements and immediately resets them. Enjoy!

Posted by jon at December 27, 2004 9:00 PM