How to disable inline PDFs in Safari 5.1

safarisnow leopard

Today, Apple updated Safari to 5.1 (6534.50).

In Safari 5.0 or below it's very easy to disable opening pdfs inline, you simply say

defaults write com.apple.Safari WebKitOmitPDFSupport -bool YES

and it never bothers you again.

In Safari 5.1 this no longer works. Does anyone know an alternative to prevent Safari 5.1 opening PDFs in the browser rather than as a download and then in Preview?

Best Answer

I don't know of any way to disable inline PDF viewing, but option-clicking on a link will force a download instead. Not exactly what you asked for, though...

What's interesting is that some PDFs actually get downloaded instead of previewed, so that could be a starting point for a hack: http://www.jbc.org/content/279/1/686.long (click on the link 'Full Text PDF').