about 5 hours
based on code collected
[UPDATE: Indie Labs ended up doing their own port to jQuery, and it's better. I'm leaving this up for historical reason only] Warn users when they try to leave a form with unsaved changes. Ported from Indie Lab's "Informant".