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

Mimic Firefox for Windows' handling of Open With... Web Browsers
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.]
  Post a comment  •  Comments (8)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[15,087 views]  View Printable Version
Open current Safari tab in a new window via AppleScript Web Browsers
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.

If you need a bit more detail on the script, you can read about it here. This is somewhat similar to this hint, but much simpler.
  Post a comment  •  Comments (14)  
  • Currently 2.00 / 5
  You rated: 4 / 5 (3 votes cast)
 
[14,140 views]  View Printable Version
Set PDF save location when viewing PDFs via Firefox Web Browsers
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.]
  Post a comment  •  Comments (4)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[14,396 views]  View Printable Version
New Gmail message handling interface and Safari Web Browsers
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.
  Post a comment  •  Comments (1)  
  • Currently 2.75 / 5
  You rated: 4 / 5 (4 votes cast)
 
[8,698 views]  View Printable Version
View hidden files in Firefox and Camino Web Browsers
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.]
  Post a comment  •  Comments (6)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[17,168 views]  View Printable Version
Save bookmarks from Safari directly into Yojimbo Web Browsers
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.]
  Post a comment  •  Comments (4)  
  • Currently 2.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[9,358 views]  View Printable Version
Add shortcut keys for any bookmark in any browser Web Browsers
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.
  Post a comment  •  Comments (0)  
  • Currently 2.20 / 5
  You rated: 3 / 5 (5 votes cast)
 
[5,218 views]  View Printable Version
Add Safari-like Bookmark shortcut keys to Firefox Web 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.]
  Post a comment  •  Comments (3)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[15,310 views]  View Printable Version
A script to bookmark sites in Safari from any browser Web Browsers
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.

First off, nothing new here: I simply took two previous macosxhints -- one for sending a URL from any browser to Safari, the other forsaving all open tags as bookmarks in Safari. I strung them together, and added a quit command so that Safari just opens, saves the bookmark, and shuts down (if there are no other previously opened windows, in which case it asks if you want to quit). Here's the resulting script.

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?
  Post a comment  •  Comments (4)  
  • Currently 2.67 / 5
  You rated: 3 / 5 (3 votes cast)
 
[6,727 views]  View Printable Version
Scroll line-by-line in Firefox 2 Web Browsers
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.]
  Post a comment  •  Comments (4)  
  • Currently 1.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[7,040 views]  View Printable Version