Shake to Undo

for your mobile web app

Shake your iPhone/iPad to see a custom action.

NOTE: Requires iOS 4.2.1 and above

W3C DeviceOrientation Event Specification