Clean And Close Extension for Firefox

I just created my first extension for Firefox. I call it Clean And Close, and it’s a simple overlay for the Download Manager window that replaces the default Clean Up button with a spiffy new Clean & Close button. The new button does exactly what the old button does, except that it also closes the window afterwards. I wrote it as a learning exercise, but it also gets rid of an extra click that was always an annoyance for me. It’s currently pending approval on the Mozilla Addons site, but should be available for download soon.

If you’re looking to develop your own extensions for Mozilla products, the Building an Extension tutorial on Mozilla’s Developer web site is what I referenced for Clean & Close.

* This post was originally published on May 23, 2006 at http://www.csb7.com/whyblogwhy/index.php/2006/05/23/clean-and-close-extension-for-firefox-et-al/

There is something to be learned from a rainstorm.
When meeting with a sudden shower, you try
not to get wet and run quickly along the road.
By doing such things as passing under the eaves
of houses, you still get wet. When you are
resolved from the beginning, you will not be
perplexed, though you will still get the same
soaking. This understanding extends to all things.

— Yamamoto Tsunetomo, Hagakure: The Book of the Samauri