Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Remove Safari's tab bar when using SafariStand Web Browsers
I love using the sidebar in SafariStand, but hate also having Safari's own tab bar showing at the same time. There is no option in Safari to turn off the tab bar (without turning tabbed browsing off completely), so a little hacking of nib files is required.

Quit Safari, then control-click on its icon in the Finder and pick Show Package Contents from the pop-up menu, then navigate to Resources » English.lproj. Duplicate the file Browser.nib, and keep the copy in case all goes wrong and you need to revert to it. Open Browser.nib (Developer Tools required; if they're installed, Browser.nib should open in Interface Builder. If it won't open, you'll need to install the Developer Tools from your original DVD or download them from Apple.)

Select Tools » Show Inspector, then click once on the item in the main window called TabBarView and select "hidden" in the Attributes Inspector window. Click once on the main window where you would expect to see your web pages loaded, and under Size in the Inspector window, change the value "height" to 532. The window now covers the TabBarView. Do not try deleting TabBarView; it can stop Safari from launching.

Save the Browser.nib, quite Interface Builder, and re-launch Safari.
    •    
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[17,941 views]  

Remove Safari's tab bar when using SafariStand | 9 comments | Create New Account
Click here to return to the 'Remove Safari's tab bar when using SafariStand' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remove Safari's tab bar when using SafariStand
Authored by: zxspectrum on Feb 15, '07 02:32:38PM

amazing!!!

just one thing...when the tabs are refreshing, you can still see parts of them. is there a way to fix it?

thanks,
zx



[ Reply to This | # ]
Remove Safari's tab bar when using SafariStand
Authored by: LegoEvan on Feb 15, '07 02:36:50PM
I like the idea, but unfortunately when I did this, it also hid the bookmarks bar.
BUT I have an alternative:

  1. Back up Browser.nib
  2. Change the page-loading part's height to 532, as before
  3. Chage the TabViewBar's height to 0
It's really important to back up browser.nib, because I can't figure out a way to hilight TabViewBar after setting its height to 0, so if you ever want to undo this, you need the old .nib.

[ Reply to This | # ]
Remove Safari's tab bar when using SafariStand
Authored by: zxspectrum on Feb 15, '07 03:06:23PM

how do you Chage the TabViewBar's to height to 0? i can only set it to 1...?

thanks,
zx



[ Reply to This | # ]
Remove Safari's tab bar when using SafariStand
Authored by: LegoEvan on Feb 15, '07 07:10:43PM

I just... did. I typed 0 and it disappeared. I'm not too familiar with Interface Builder, maybe I did something I don't realize. I'm pretty sure I just typed the number.



[ Reply to This | # ]
Remove Safari's tab bar when using SafariStand
Authored by: Anonymous on Feb 16, '07 02:37:41AM

Good hint. Thanks.

My only problem is that the line under the Bookmarks Bar disappeared. My solution:
Resize TabBarView to 1
Relocate TabBarView to y=548

I then set Safari preferences to always show the tab bar.



[ Reply to This | # ]
Remove Safari's tab bar when using SafariStand
Authored by: zxspectrum on Feb 16, '07 05:05:27AM

do you guys get a duplicate 'Browser~.nib'? and if yes, what do you do with it?

thanks,
zx



[ Reply to This | # ]
Remove Safari's tab bar when using SafariStand
Authored by: Anonymous on Feb 16, '07 05:13:20AM

It's an automatic back up of the previous configuration. You can just ignore it or delete it or save it.



[ Reply to This | # ]
Safari 4
Authored by: iMacThere4iAm on Aug 14, '09 03:11:53PM
Here's how to do this in Safari 4.0.3 with its slightly different tab bar.
With origin at bottom left
Move TabBarView up 24 points to (0, 24)

With origin at top left
Move TabBarEnclosureView up 19 points to (0, 600)

With origin at bottom left
Increase height of Tab View by 19 points to 560
This seems to work just fine for me, even the bookmarks bar can be turned on or off like normal.

[ Reply to This | # ]
Safari 4
Authored by: iMacThere4iAm on Aug 14, '09 03:20:21PM

A small extra point: With only one page open, you have to set the tab bar to be always shown using View>Show Tab Bar.



[ Reply to This | # ]