:: micsaund.com ::

Mike’s World of fun stuff (pinball, games, electronics, amusement parks, computers, more)

November 26, 2009

Stop Safari from opening PDFs inside the browser

by @ 12:08 pm. Filed under Apple

The Apple Safari logo

The Apple Safari logo


It's been a while since I posted, but today, I had to figure-out how to make the OS X version of Safari stop opening PDF files inside the browser since that's one of my pet peeves.


For some reason, I am one of the few people who do not like to do everything inside a browser. One of the things that most computers do, Windows and Mac, is open PDF files inside the browser.

Mac OS X has a built-in tool called Preview that is lightning fast. Compared to Acrobat, Preview is a Ferrari while Acrobat is a Yugo. Thus, I prefer to open my PDF files in Preview and not inside a bloated web browser. I also like to save them, as I often will save a PDF and look at it later.

Until recently, I have been using FireFox on my Mac. But, due to some crashing, slowness in the Gmail RSS reader, etc. I have been trying to use Safari 99% of the time. So, while I had an add-on in FireFox to force downloads of PDF files, I couldn't seen an obvious way to do this in Safari.

After a bit of digging around, I found this little gem. As of this writing, I'm using Safari 4.0.4 on Snow Leopard 10.6.2, but the tip has worked for years, so it should work with most other combinations.

Here's how you stop Safari from opening PDF files inside the browser and instead save them to the disk:

  1. Quit Safari
  2. Open a Terminal (in Applications -> Utilities)
  3. Paste this into the Terminal defaults write com.apple.Safari WebKitOmitPDFSupport -bool YES
  4. Restart Safari

It's that easy! Now, when you click a pdf link, the file will be downloaded to your normal download location on the disk and you can open it with whatever tool you want.

NOTE: This will NOT work with the Windows version. There probably is some similar tweak you can do, but the above tip uses OS X specific commands!

stumbleupon:Stop Safari from opening PDFs inside the browser del.icio.us:Stop Safari from opening PDFs inside the browser digg:Stop Safari from opening PDFs inside the browser spurl:Stop Safari from opening PDFs inside the browser wists:Stop Safari from opening PDFs inside the browser simpy:Stop Safari from opening PDFs inside the browser newsvine:Stop Safari from opening PDFs inside the browser blinklist:Stop Safari from opening PDFs inside the browser furl:Stop Safari from opening PDFs inside the browser reddit:Stop Safari from opening PDFs inside the browser fark:Stop Safari from opening PDFs inside the browser blogmarks:Stop Safari from opening PDFs inside the browser Y!:Stop Safari from opening PDFs inside the browser smarking:Stop Safari from opening PDFs inside the browser magnolia:Stop Safari from opening PDFs inside the browser segnalo:Stop Safari from opening PDFs inside the browser gifttagging:Stop Safari from opening PDFs inside the browser

Related Stuff:

FAQ
Q: Do I have to register to post comments in the blog (main page content)? A: No. You can post...

First Apple store to go 24/7
Amid the reports and rumors of the upcoming Bluetooth and WiFi iPod releases, Apple is taking its first store 24/7. You...

Tilt! pinball documentary available for pre-order
The long-awaited documentary on the history of the Williams Pinball 2000 platform has been distributed to a limited set of...

Tip: Leopard Mail.app won’t quit with IMAP
I recently setup several IMAP accounts in Leopard's Mail.app and noticed that when I tried to quit Mail, it would...

Play dozens of emulated C-64 games in a browser!
Wow - talk about a nostalgia flashback - Play your favorite C64 games right in your browser! This site (www.c64s.com) uses...

Explore more

Previous post: Revisit the moon landing from 40 year ago

Next post: Movin’ on up to the QNAP TS-219P NAS

One Response to “Stop Safari from opening PDFs inside the browser”

  1. Asterion Says:

    Unfortunately, this does not work in Mac OS 10.6.4.

    Does anyone know another way of doing this? The Safari PDF plug-in is well and truly f***ed, and I just get crash after crash after crash.

    A true fix to this massive Apple bug would be very much appreciated.

    A

Leave a Reply

[powered by WordPress.]

micsaund.com

arcade games:

categories:

search blog:

syndication:

other links:

Twitter Stuff: