License: Freeware

TabStop
TabStop is a SIMBL plugin that displays a warning when you attempt to quit or close a window in Safari that contains multiple tabs. Very handy, if you're used to keeping dozens of tabs around and you're tired of accidentally Command-Q'ing instead of Command-W'ing. TabStop is a Univeral Binary.

If you know a language that TabStop is not localized for and would like to contribute, please get in touch with me at . Just think of all the fame and fortune that will come your way once I thank you on my website for your contribution. Seriously, Jakub is a millionaire with two hit television shows after his contribution.

TabStop is currenly available in English, Czech, French, Italian, Japanese, German, Swedish and Dutch.

Safari 3 and TabStop
TabStop does not work with the Safari 3 Beta Apple recently released, but it's quite ok that it doesn't. Safari 3 now includes the functionality that TabStop provides natively! More specific details can be found here, but if you need to uninstall TabStop, either manually remove the TabStop.bundle file from either /Library/Application Support/SIMBL/Plugins or ~/Library/Application Support/SIMBL/Plugins. Or download this little perl script I created that’ll remove it for you.

Download
TabStop v1.1.8 is available here

Screenshots
   

Requirements

  • Mac OS 10.4.0 or higher
  • SIMBL 0.8.1 (included in download)
  • Safari 2 (bundle versions 412 through 419)

Installation

  1. Quit Safari (if it's running).
  2. Install SIMBL. Double-click the SIMBL package and follow the instructions. If you have an older copy, this will upgrade it, so be careful if you have older SIMBL plugins. Some don't work with 0.8.1.
  3. Install TabStop. Double-click the TabStop pacakge and follow the instructions. By default, the plugin is installed in /Library/Application Support/SIMBL/Plugins, but it can be moved to ~/Library/Application Support/SIBML/Plugins if you'd rather not have it available to all users on your machine.
  4. Restart Safari. Open a couple of URLs, tabs, and windows. Then try to quit Safari or close a window with multiple tabs open. You should be presented with a window to cancel the action.

Support
Chances are that I've got a bug or two in this guy. I can't test every possible environment, so if you have problems, questions, or requests, shoot an email to

While I've compiled this for Tiger only, there's nothing specifically preventing it from running on a 10.3.x machine, other than me recompiling it. If you are a 10.3.x user who is running SIMBL 0.8.1 (which is required for Intel support), let me know and I'll rebuild a TabStop for you to play with.

Special Thanks To...

  • Ken Saunders of mouserunner.com for making available some very nice, free, already-sized-for-MacOS X icons
  • Jakub Formanek for providing a Czech (cs_CZ) localization
  • Laurent Beaurain for providing a French localization
  • Juri Radossevich for providing a Italian localization
  • Yoichiro Ishino for providing a Japanese localization
  • Joachim Schuster for providing a German localization
  • Kristoffer Forsgren for providing a Swedish localization
  • Ronald Lamars for providing a Dutch localization

Version History
v1.1.8

  • Includes Dutch localization
v1.1.7
  • Includes Swedish localization
v1.1.6
  • Fixes a bug where TabStop would force-quit Safari even if one or more downloads were active AND the number of open tabs was exactly one. Instead, TabStop sidesteps itself if the user is trying to quit Safari while there are active downloads. TabStop still presents itself if the request is to close an individual window.
v1.1.5
  • Includes German localization
v1.1.4
  • Added support to present a warning when Safari is quit from the Dock or Application Switcher. Note that quitting by any other means (reboot, shutdown, applescript, or any other third party app manager) will terminate Safari without presenting a warning.
  • Includes Japanese localization (thanks, Yoichiro Ishino!)
v1.1.3
  • Includes Italian localization
v1.1.2
  • Fixed my incorrect implementation of localization... sorry about that.
  • Includes Czech (cs_CZ) localization
  • Includes French localization
v1.1.1
  • TabStop plays nicely with other plugins now, namely ForgetMeNot.
  • Removed extraneous code that was swizzling functions that I didn't need to swizzle.
v1.1
  • Allowed plugin to load for Safari 2.0.0 (412) through 2.0.4 (419)
  • Updated the icon to something that isn't "hideous". You're welcome, schmelding. Shrunk the size of the warning windows as well.
  • Modified behavior to not present the warning when a single window had a single tab open. The behavior now is to simply count active tabs (those with a URL loaded). If that number is greater than two (regardless of how many windows are open), the warning is displayed.
  • TabStop will no longer prevent the system from restarting or shutting down.
  • Mapped the "cancel" button to the escape key. Maybe I'll add user-configurable keyboard shortcuts if there is a large call for it.

Known Issues
TabStop and ForgetMeNot will not play nicely together. They both hijack the same functions and I'm not sure of a way around that just yet.

v1.0
  • Initial Release