Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Don't open PDFs inside Safari

I had set up Safari so that it opens PDFs in Preview (*not* inside Safari).


I'm not sure what changed that behavior, but now Safari opens PDFs inisde the Safari window (at least, most of them) -- which I really hate.


I have checked the defaults:


% defaults read com.apple.Safari WebKitOmitPDFSupport

1


Also, I don't have any Adobe plugin in Safari.


Does anybody have any idea what else might be causing Safari to open PDFs inside a Safari window?


(Versions: Safaru 5.1, Mac OS X 10.6.8)


Thanks a lot in advance.


Best regards,

Gabriel.

MacBook Pro, Mac OS X (10.6.5), iPhone 3GS w/ FW 4.0.1, iTunes 10.1

Posted on Aug 10, 2011 3:50 AM

Reply
12 replies

Aug 10, 2011 7:10 AM in response to Linc Davis

Try this:


Open the com.apple.quicktime.plugin.preferences.plist file in ~Library/Preferences with a property list editor.


Open disclosure triangle for:


"WebPluginMIMETypes";


then for "application/PDF";


uncheck the box in the "Value" column of "WebPluginTypeEnabled".


Quit and restart Safari. PDFs now show up in the browser. The contextual menu item "Open in Preview" is gone (it seems), but controls appear at the bottom of the page when the cursor crosses it and if one clicks the Preview icon, the PDF will open as a separate Preview document.


I'm sure there is a Terminal command that does the same thing, but if you have Property List Editor on your machine, it's pretty easy to do.

Aug 19, 2011 1:24 PM in response to silvermoonbeam

silvermoonbeam wrote:


Try this:


Open the com.apple.quicktime.plugin.preferences.plist file in ~Library/Preferences with a property list editor.


Open disclosure triangle for:


"WebPluginMIMETypes";


then for "application/PDF";


uncheck the box in the "Value" column of "WebPluginTypeEnabled".


Quit and restart Safari. PDFs now show up in the browser. The contextual menu item "Open in Preview" is gone (it seems), but controls appear at the bottom of the page when the cursor crosses it and if one clicks the Preview icon, the PDF will open as a separate Preview document.


I'm sure there is a Terminal command that does the same thing, but if you have Property List Editor on your machine, it's pretty easy to do.



This worked for me. THANK YOU!

Don't open PDFs inside Safari

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.