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

Create separators for Safari's Bookmarks bar Web Browsers
If you've customized the toolbars in Cocoa applications such as Apple Mail, you're probably familiar with the separator item that you can place on the toolbar to divide it into categories. It would be great to have a similar feature for the Safari Bookmarks Bar--and with a simple hack, the feature is there.
  1. Open a web page (any web page is fine).
  2. Choose Bookmarks -> Add Bookmark from the menu.
  3. In the name field, type a | (vertical bar/pipe character) and click Add.
  4. Choose Bookmarks -> Show All Bookmarks, view the Bookmarks Bar items, and edit the address of the bookmark you just added to read the following: javascript:0;
Your separator will now appear on the Bookmarks Bar but do nothing when clicked.

[robg adds: This is an improvement on an older hint, which didn't have the "do nothing" Javascript code. As noted in the previous hint, you'll give up the Command-1 through Command-9 shortcuts if you've got a bunch of divider bars on your bookmarks bar.]
    •    
  • Currently 3.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[37,475 views]  

Create separators for Safari's Bookmarks bar | 5 comments | Create New Account
Click here to return to the 'Create separators for Safari's Bookmarks bar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create eparators for Safari's Bookmarks bar
Authored by: rammjet on Jul 20, '04 10:17:52AM

An easier method which allows you to keep F-key access and doesn't require you to add a javascript URL is to just include the vertical bar as part of the name of the bookmark. If you want to maintain symmetry, put 4 spaces between the bar and the name

My bookmark name is: | bookmark



[ Reply to This | # ]
Create eparators for Safari's Bookmarks bar
Authored by: alajuela on Jul 20, '04 12:30:31PM

Duh <slapping forehead>. Simplicity and elegance. Thanks ramjet.



[ Reply to This | # ]
Create eparators for Safari's Bookmarks bar
Authored by: bkazez on Jul 20, '04 06:48:24PM

Yeah, but then it highlights when you try to click the bookmark.

Also, 3 spaces is better than 4.

---
--
http://ben.kazez.com/



[ Reply to This | # ]
Create separators for Safari's Bookmarks bar
Authored by: alex_kac on Jun 12, '06 08:43:11PM

Better method for me was to use the Special Characters Palette and use this:

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯



[ Reply to This | # ]
Create separators for Safari's Bookmarks bar
Authored by: schmunk on May 21, '09 02:56:56AM

and ever better: 0x2500
─────────────────

Shows no spaces between chars in horizontal menus.



[ Reply to This | # ]