I tried a variety of jQuery plugins for warning the user when they are about to leave a form with unsaved changes, and I couldn’t quite get any of them to behave exactly the way I wanted. Among other reasons, I needed to support TinyMCE and jQuery tabs. Anyway, I ended up rolling my own, which I’m making available in case it might help somebody else. Here’s the file, usage instructions are in the source comments:

jquery.isdirty.js

Note that this plugin relies on the onBeforeUnload event, which I think is only supported by IE and Firefox, but it works better and is less complicated than other solutions that don’t rely on that event. An unfortunate tradeoff. I wish that event were more widely supported.

10/15/09 @ 11:52 AM

I wanted to do something with Twitter, so hatched plovr. It scans Twitter looking for people who need help, and helps you help them (you can reply via the plovr Twitter account, without belonging to Twitter yourself, or you can click through to Twitter and lend a hand as yourself).

If you have a minute, check it out, maybe help a stranger while you’re there!

03/16/09 @ 03:25 PM

Neat sparklines plugin: jQuery Sparklines.

03/03/09 @ 03:40 PM

The NYTimes just rolled out a prototype of an alternative skimmer interface for browsing their headlines. Very clean.

02/17/09 @ 08:22 PM

Hi

I'm Jim Biancolo, and this is stuff I found interesting that I thought you might like too. Here are some of my favorites if you want to start there. Mostly I link to other people, but some stuff is mine, like:

Spillover

I am loving Instapaper, and use if to sock away stuff to read. Here are a bunch of articles I read recently and liked.

Archives

Subscribe

Here are the RSS feeds for this site, my Instapaper reading list, and my Instapaper favorites.

"RSS? What in the blazes are you carryin' on about, boy?"

If you prefer, enter your address below to get updates via e-mail. Powered by Feed My Inbox (they have a good privacy policy).