In the Windows version of Firefox, if the user selects the "Open with..." option for a file on a webpage, the file is downloaded to the system Temporary files directory before being opened. In the Mac version of Firefox, the file is downloaded to the system downloads directory (The download directory one specifies in Safari and some others browsers, not the one specified in Firefox). This generally means that after viewing the file, you must manually delete it from your drive if you do not wish to keep it.
You can mimic the Windows behaviour simply by changing Safari's download directory to /tmp. To do this, open Safari's General preferences pane and, under Save Downloaded Files To, select Other.... In the dialog that appears, hit Shift-Command-G to bring up the Go to Folder dialog. In this dialog, simply type /tmp, hit OK, then hit Select in the main window.
From this point on, all files for which you select "Open with..." in Firefox will be downloaded to the invisible /tmp directory before being opened. The system clears this directory regularly, so there is no need to worry about manually deleting files you don't want. If you wish to move a file from this directory, you can either enter /tmp in the Finder's Go to Folder" field, or you can command-click in the title bar of an opened file in that directory to see the hierarchy.
[robg adds: Obvious but worth pointing out: if you make this change and then use Safari again, anything you download will also go into /tmp.]
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.]