You can easily add any folder on your hard drive to the bookmarks menu of Safari, and it will open in the Finder when selected. Handy if you want to drag a picture from Safari to the Pictures folder or when you want to open your downloads folder without having to switch to Finder first. And very cool ... the bookmark menu will display the icon of the folder, even if it's a custom icon.
For example, for the top level of the hard drive, you would type 'file:///' and then drag the link to the bookmark bar. For your Documents folder, you would type 'file:///Users/yourname/Documents' and then drag it to the bookmark bar.
[Editor's note: The original hint specified using just ":///" as the URL, but I couldn't make it work unless the command started with 'file.' Also, do not hit return after typing the URL, as that will open the specified folder and then (at least on my two machines) blank the URL bar! Just type out the address, and drag the completed address to the bookmark bar.]
You can install an "Application Enhancer" called FullScreenSafari.ape that will prevent cascading windows in Safari. You will also need to download and install the Application Enhancer package from Unsanity. This will let you more easily use Safari in full-screen mode. Works like a champ!
You can open the bookmarks in the bookmarks bar by simply hitting Command-1, Command-2 etc. It will not work with bookmarks in a folder just single links. You can see the defined shortcuts in the Bookmarks -> Bookmarks Bar submenu.
[Editor's note: This, and many other keyboard shortcuts, are mentioned in the shortcuts file discused in this hint. For any future keyboard shortcuts, please refer to that file, as we won't be running a separate hint for each of them!]
Kind of related to the Safari status bar note earlier (and maybe why it can be disabled by default), when you click and drag on a link in Safari, a new info popup appears that contains the name of the link and the target URL ... and it follows the link as you drag it around!
[Editor's note: A very nice touch, and and easy way to see the URL if you don't want the Status Bar visible.]
If you have a non-US keyboard, you'll find impossible to use command-[ and command-] for Back and Forward functions in Safari. The following instructions will change those keyboard shortcuts. Before messing with Safari's inner parts, be advised that alternatively you can use Delete for Back and Shift-Delete for Forward.
If you haven't done that already, you should install the latest Dev Tools (mine are not the latest; they're marked July 2002 but they worked).
Quit Safari (if running).
Control click or right click on the Safari icon and choose Show Package Contents.
Find your way through Contents -> Resources -> English.lproj and open MainMenu.nib
It will launch Interface Builder and you should have a small window called "MainMenu.nib - Main Menu" with the menu bar.
Click on History, double click each keyboard shortcut and type your desired key combination for that specific shortcut.
Close the MainMenu.nib document, save your changes and start Safari.
[Editor's note: Obviously, you could use this same method of changing the other keyboard shortcuts as well. I would recommend working on a backup (or having the Safari installer around), just in case something doesn't work after making your changes.]
I am a bit surprised that no one has mentioned the freeware application Safari Enhancer. For all of those who wish to fiddle with Safari's hidden features without editing files themselves, this is the application.
It can reveal the debug menu, set the minimum font size, underline links and import bookbarks from other browsers.
[Editor's note: The features in Safari Enhancer can be enabled through the command line, but Enhancer certainly makes it easier!]
You can set Safari to remember your favourite window size and position. Simply move and re-size a browser window in Safari to your preference, then Quit the app. Every time you start up, the first window will appear where you want it!
Here's a useful little feature in Safari. A command-click on the title bar reveals the full path for the URL where you're at in a site. So we can have instant access to any level of the site, just like Finder windows behave with the same command-click.