On Safari

Post

On Safari

5 September 2005 / 25 Comments

There’s a new version of the indispensable free Safari add on, SafariStand out which has completely blown me away by adding OmniWeb-style thumbnail tabs to Safari. Thumbnail tabs was one of things I really missed from OmniWeb when I switched to Safari (OmniWeb is simply too slow on my 867Mhz Powerbook), so it’s really nice to have them back.

However, to get the full effect of the screen shot above, you have to do a bit of hackery. The main weapon in the GUI fetishists toolkit is the Apple supplied Interface Builder, and I’m not going to detail how to use it, just the steps I went through to get the look above.

To start, obviously Safari is normally metal, which is the first thing to go, replaced by the swish-ness of Unified Toolbar. Normally, however, Safari doesn’t really work to well when Unified, as I don’t use the bookmark toolbar and hence the tabs and the toolbar bleed into each in a fairly ugly fashion. Now we’ve got the thumbnail tabs, though, we can get rid of the normal tabs (which stick around even if you’ve got the SafariStand thumbnail tabs enabled) and solve the problem.

This is achieved by opening up Safari’s browser.nib file and then making the tab bar near the top of the window only one pixel tall. Then, so we don’t have the wasted space of an empty tab bar, we move it up to the top of the tab bar space, and expand the main web view to meet it.

We’ve now finished editing the Safari nib, which you can download here if you’re not an Interface Builder user (or just lazy. Very lazy.). I also made a small change to the HTSideBar.nib in the SafariStand.bundle to remove the padding round the sidebar as I don’t think it looks right when unified, but I think you guys can work that one out yourself!

UPDATE: For all those that asked, here’s a Metal version of the Browser.nib and also my version of the SafariStand sidebar, which goes in /Library/InputManagers/SafariStand/SafariStand.bundle/Contents/Resources/English.

Comments

Yay! Thanks!

Sep 28, 01:06 AM

Actually, the download link doesn’t work. Could you zip the file?

Sep 28, 01:14 AM

Just what I was looking for! Cheers very much.

Sep 28, 01:44 AM

Yeah, I second Jon’s remark. Link doesn’t work.

Sep 28, 05:05 AM

Sorry about that folks – should be fixed now!

Sep 28, 08:47 AM

looks good doesnt it…same method as I did! Good point on editing the HTSideBar…going to have to do that to mine!

Sep 28, 11:45 AM

Awesome! Thanks!

Nooon
Sep 28, 12:24 PM

Changed my HTSidebar now….does look alot cleaner with the unified menubar!

Sep 28, 04:08 PM

Sorry, but where is browser.nib located?

Brutal
Sep 28, 06:31 PM

The browser.nib is hidden within Safari.app.

To get at it, right/control click on Safari.app and click on “Show Package Contents”.

Then click Contents -> Resources -> English and the Browser.nib is in there.

Sep 28, 08:25 PM

if anyone wants the stand modification let me know!!!

Sep 29, 12:03 AM

Wow. This works perfectly, my previous crack at this had removed the tabs. but left the empty bar. Thanks!

Also, Meta-phor, I’d love to know the Stand modification.

Sep 30, 04:18 PM

Hey this is great thanks mate.

Oct 1, 10:46 AM

This is very cool, but could you post a version without the unified bar? Thanks

Anon
Oct 2, 01:59 AM

Brilliant. Exactly what I was looking for when I first came across SafariStand’s new Omni-like sidebar via Jon.

Now, is there any way to create a key command shortcut to toggle the sidebar? SafariStand doesn’t seem to have one built in.

Anthony Baker
Oct 2, 09:07 PM

Hey, this is great. Now I just wish Safari Stand would stop crashing my browser.

Nov 1, 05:29 AM

Just wondering if you can change the background color of the bookmarks bar or if it has to be that striped background… I didn’t know where to edit the background color of that part…
Thanks and nice work!

Nov 27, 05:42 AM

I don’t know of any way using Interface Builder to do it – you could use a theme like Uno to wipe out the stripes system wide, though.

Nov 27, 12:08 PM

These are great tweaks – how about the rounded thumbnails, though? Are they a separate hack?

Dec 19, 02:43 AM

The rounded thumbnail are from an earlier version of SafariStand – if I could make them work in the latest version I would!

Dec 19, 09:38 PM

Ah, bummer. :( One thing I’m noticing with the sidebar border removal (which I love) is that I can’t seem to resize it anymore – the handle cursor shows up, but I can’t do anything with it!

Dec 19, 09:47 PM

Yeah – As I’ve been using the border removal for a while I’d not realised you could resize it. I’ll have a look into when I get a chance.

Dec 20, 09:24 AM

Just an update – if you grab the left pixel of the browser window, resizing works. Pretty weird :)

Jan 28, 07:38 AM

Is it possible to remove the search bar and extend the location bar like in Camino or Firefox?

I use the the location as a search bar the the search bar is useless to me, and it’s ugly becuase i find it inconcistent beacuse it has round border unlike the location bar.

grtz.

Json
Sep 12, 06:57 PM

I’ll answer my own question with a link on how to remove the google searchbar:

http://www.macosxhints.com/comment.php?mode=display&format=threaded&order=ASC&pid=56433

Sorry for the comment litter.

grtz.

Json
Sep 12, 07:07 PM

Comments are turned off for this article.