Sometimes when I have many pages loaded as tabs in one Safari window, I would like to look at two of those pages at once. So I wrote an AppleScript called Load Tab in New Window (view source, download compiled script) that re-opens the frontmost tab in a new window and closes the original tab, effectively popping the page out into its own window. It's not perfect, but I find it handy.
Firefox users trying to view pdf files from a web link are greeted with a dialog box asking if they'd rather open the file with a given application, or save it to disk. If they choose to save it to disk, it will be saved to their defined downloads location, as set in Firefox's Preferences. However, if they select Open With, and leave the application set to Preview (default), then Firefox will download the PDF to another location. Which location, exactly? The one specified in Safari's preferences.
To redirect the PDF download to a specific location, launch Safari and open its Preferences panel, click on General, and set the 'Save downloaded files to' selection box to the spot where you'd like those PDFs to land.
[robg adds: I'd never noticed this behavior, as I usually have all the browsers set to download to the same location. But some quick experimentation proved that Firefox does indeed use Safari's save-to location setting when opening a file from the "do what with this file?" dialog box.]
In the latest version of Gmail, they introduced a more compact menu system for Reply (All), Forward, Delete, etc. via a drop down menu. Unfortunately, this menu does not work in the latest version of Safari under 10.4.8).
However, the keyboard shortcuts still work, so you can just hit reply, reply all, and forward. Note that you have to have the shortcuts enabled in Gmail's Settings screen for this to work.
Normally I use OnyX or Terminal to view hidden files. By accident today, I dragged a folder from the Finder onto my Firefox window, and it showed all the files in that folder (including the hidden ones). If you click on a file, it will download, or you can drag the links to an application in the Dock, etc. to open them.
For instance, I normally need to view hidden files if I need to edit a text file. You can just drag the text file straight onto a text editor like TextEdit, and it will open the file directly.
[robg adds: This also works in Camino, but not in Safari or OmniWeb. Since an application is nothing more than a fancy folder, you can also drag and drop an application into either browser's window to reveal the files in that application's bundle. This technique was mentioned back in 2002 in this hint, but since the browser landscape has changed dramatically since then (and the ability to see hidden files wasn't previously mentioned), I felt it worth publishing.]
If you like to store bookmarks in Yojimbo, my Bookmark in Yojimbo AppleScript, which I wrote for Safari, might come in handy. The script provides an alternate bookmark dialog that saves a bookmark for the current page directly into Yojimbo. You can also opt to display the new bookmark in Yojimbo if you would like to edit its other attributes.
More information (and any source updates) are available on my site -- including an already-compiled version of the script.
[robg adds: The source display shown here is stored on macosxhints.com. For the most up to date version of the code, visit the author's linked page.]
Recently, a hint was published on setting Safari-like shortcut keys for bookmarks in Firefox. I recently solved this problem a different way: using the built-in Keyboard Shortcuts sub-pane of the Keyboard & Mouse System Preferences panel. A nice feature of this is that if you set the shortcut for All Applications, as long as you have the same name for bookmarks in each application, you can use the same shortcuts for the same bookmarks in multiple browsers.
The Firefox extension Bookmark Keys will allow you to select bookmarks on your Firefox bookmarks toolbar using Control-[1 to 9]. Safari has had this feature for a long time, and I find it very useful. Now Firefox has it, too.
[robg adds: I generally don't run pointers to individual Firefox extensions as hints (mainly because there are so many of them, and everyone's needs will be different). However, given the popularity of Safari and the convenience of the feature, I though I'd run this one. The only downside that I see with the extension is that it doesn't add the shortcut next to the bookmark's name in the Bookmarks menu, so you'll have to remember what Control-7 opens -- this is more difficult if, like me, you have individual sites and folders intermingled on your bookmarks bar.]
Since Safari is so ubiquitous (think QuickSilver, Mail integration, etc.), I find it useful to store all my bookmarks there, and then just have my other browsers in sync by manually importing every now and again. This is especially true as I use DEVONagent, which is wonderful in many regards, but cannot bookmark on its own -- it can only display bookmarks imported from elsewhere.
Help requested: Preferably, I would like that all such bookmarks are all stored in one folder for each day, instead of a new folder for each bookmark sent to Safari; or maybe just one folder for all unfiled bookmarks -- let's call it "unfiled." Any ideas?
This isn't exactly a hint, per se, but a change from Firefox 1.5 to 2.0. In 1.x-1.5, holding down the Command key and using the scroll wheel would resize text on the current page.
Now, holding down Command forces the scroll to go line by line, no matter how fast the scroll wheel is turned. It's kind of hard to explain, but compare the two, and you'll see what I mean. Random, but useful if you use the scroll wheel to read documents and articles online like I do (keep your eyes in the same place, and just scroll the page.)
[robg adds: The old "zoom text via scroll" feature is still available, but you'll have to press Command and Control, then scroll, in order to get it. And as noted in my comment to this hint, Command and Option and scroll is the shortcut to flip between pages that have been loaded on one tab.]
Although you can't see a cursor when you click on text in Safari, it seems that one might be there. If you click on a position in a line of text in Safari, and then Shift-click somewhere else in the page's text, it will select all of the text from the first place you clicked to the place you Shift-clicked, despite the lack of a visible cursor. This makes selecting really big clumps of text a lot easier, as you can drag your scroll bar to get from one end of the selection to the other, rather than dragging the cursor and waiting for it to autoscroll. Just be sure not to click anywhere on the page between your first click and the Shift-click!
[kirkmc adds: This seems obvious, yet it probably isn't for many people. Since you can double-click a word to select it in Safari (as well as in other browsers), it stands to reason that there is a "cursor" there somewhere. You can also triple-click to select a paragraph.]