Taming the Quit Safari keyboard shortcut function
If you are using the Safari web browser, you probably either have your own solution for this, or you are in a desperate need to solve the little thing that gets on your nerves. I am talking about preventing Safari from automatically closing all tabs if you accidentally click the Quit Safari key combo. fire protection services in ukraine
Safari is currently my preferred browser. I migrated from Firefox because of a number of performance problems including constant crashing on flash enabled web sites. The problem was fixed in the latest version, but I still hold to my Safari. In my article "The reasons behind my love for the new iBook" I mentioned that I use Command + A combo quite a lot and often, because of closeness, A becomes Q and as you probably know Command + Q closes the active window. I hated having up to 10 tabs open and then accidentally hitting the mentioned combination that resulted in Safari closing itself immediately. From the reader feedback I received on the iBook article, there were some good tips on preventing this problem. veilig werken
Change the key combo
Our reader Chris Mear gave his point of view on fixing the situation. "In System Preferences > Keyboard & Mouse -> Keyboard Shortcuts, add a new shortcut for Safari, menu item Quit Safari". This is quite a good hack, as the Keyboard Shortcuts menu gives you the possibility of setting up a new shortcut for a specific application. In this case, it means that you are not changing the default close window shortcut in all applications.

Taboo hack
Taboo is a simple Safari hack which provides a warning before quitting or closing a browser window containing multiple tabs. I really prefer this method, as it is easy to use and blends into Safari perfectly. This is done by using SIMBL (Smart InputManager Bundle Loader) that allows developers to build hacks for Cocoa applications and apply the code selectively based on an application's unique identifier. Thanks to Daniel Brouwer for introducing me with Taboo.

Saft tool
Our reader Eduo suggested using Saft: "Saft always knows what your tabs are in each of your windows. Should safari crash it will reactivate all tabs as they were. If you quit the program with tabs opened, they will reopen when you start the program." This is also a quite good approach - I've seen this function in Opera. I would prefer Taboo over Saft because, for instance, in one of the tabs I might write a lot of text, and if Safari closes, Saft will probably open the same URL, but it would not cache the content. I say probably because I didn't tested it. I really wanted to, but Saft has some problems. I tried both versions 8.1.2 (the "latest" version on Apple.com), as well as 8.2.1 (latest version from developer's homepage).
Saft 8.2.1 pre-requisites:

Saft 8.2.1 error after installation:

I manually deleted all 8.2.1 files, located in /Library/InputManagers/Saft and installed the new version, but I receive the same error.
As you can see from the images above, my Safari version is fully supported, but after installing Saft it says that it isn't compatible.
Conclusion
Bottom line, I use Taboo and it is a great addition to Safari. If you have any other suggestions do let me know, I am always curious to hear about better alternatives or workarounds.






Comments
Thank you so much for that! As you might guess, I finally got fed up with the Q/W confusion.
Posted by: Mark Ivey | January 5, 2006 02:30 AM