Just Released: Always Ask

Because ⌘Q is WAY too close to ⌘W

Posted: December 21, 2009 Tagged: mozilla, firefox, and extension 1 Comment

No, I didn’t mean to press ⌘Q, I just wanted to close that tab. Sure, all I have to do is start Firefox again. You’re right, I didn’t really need those minutes of my life. Yea, go ahead and install those updates I intentionally was putting off. I probably didn’t lose any important information. Oh wait, Session Restore doesn’t save form data on https sites (read: Bugzilla) by default? FFFFFFFFFFFFUUUUUUUUUUUUUUUUUU!!!!!!

Always Ask is an add-on that adds an additional prompt to Firefox when you are quitting. The prompt only shows up if Firefox has determined that you don’t need a prompt. This includes when you have Session Restore enabled, if you’ve changed either of the browser.warnOn* prefs, or if you don’t have Session Restore enabled & are closing multiple tabs. There’s probably some other combination of conditions that change the outcome here.

Since I work on Session Restore, I’ve had it turned on for a long time. In the past I’ve intentionally changed my preferences so that it wouldn’t automatically quit, but that has led to me accidentally setting prefs and disabling the prompt. Then I have the same problem.

So this extension is pretty simple. It’s currently available in English (en-US) but if you’d like to see it in your language, feel free to help out on Babelzilla. Code is available on Github (thanks to hg-git).

Always Ask in action

Comments

  1. drew
    December 22, 2009

    “There’s probably some other combination of conditions that change the outcome here.”

    This is one of Firefox’s rough edges that bugs me. I’ve accidentally turned off the quit prompt before, but I’m never sure how I did it or what I did to bring it back. It’s crazy.

    p.s. Your Textile quick reference link is dead, but here’s a mirror: http://redcloth.org/hobix.com/textile/quick.html

© Copyright 2004–2010 Paul O’Shannessy Powered by Blarg & hosted on Dreamhost