December 2004 Archives

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 9:00 PM | Comments (0)
November 2010
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Archives