wet_parachute: Textpattern plugin prevents you from inadvertently closing your browser window

14. Dezember 2007

wet_parachute is a plugin for Textpattern which enhances the Content > Write screen.

Have you ever lost one of your articles because you inadvertently closed your browser window or navigated away from the article edit screen without saving your changes? wet_parachute issues a warning on such occasions.


Install. Enable. Enjoy. No changes to your site required.

wet_parachute relies on the browser “unbeforeunload” event which is not supported across all browser brands. It silently pauses when it detects an uncapable browser.

Browser Warn before close?
Firefox Yes
Internet Explorer 10 Yes
Chrome Yes


wet_parachute works with Textpattern 4.5.3+.


Get it here: wet_parachute.txt.

Resources and Relateds

Express your suggestions, report bugs and discuss enhancements in this thread in the Textpattern forum.


This plugin contains a UTF-8-aware JavaScript MD5 implementation by WebToolkit.

Change log

Date Version Notes
2007-12-13 0.3 Initial public release
2007-12-22 0.4 Get UTF8 handling right
2008-02-26 0.5 Get rid of a spurious alert for freshly posted articles
2008-11-22 0.6 Textpattern 4.0.7-compatible version
2009-01-08 0.7 Remove leftovers from JS debug code, change type to “admin-side” only
2012-12-08 1.0 Remove unneeded “restore caret position” feature as Textpattern now uses AJAX to update the write screen; compatibility with Textpattern 4.5.3


  1. Great plugin! Works like a charm. And at least the idea should be incorporated into Textpattern.

  2. Thank you for this wonderful plugin! Works just great!