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

Cannot open PDF files in Sarari

I am not able to view PDF files in Safari. A window pops up and asks me to select the application to view the pdf file in. Preview is greyed out so I cannot select it. If I use firefox, it opens the PDF file. I do not want to have to open firefox everytime I run across a pdf file to open. Please help!

MacBook Pro, Mac OS X (10.5.2)

Posted on Jun 2, 2008 10:05 AM

Reply
8 replies

Jun 2, 2008 11:18 AM in response to passion4dance

Do you have Adobe Reader installed? If not, you can Quit Safari after downloading it, then install it and try viewing the PDF file that way.

But Safari 3.1.1 has the ability to view PDF files even without Adobe Reader, although it may not be enabled. Try opening a Terminal window and entering this command:

defaults write com.apple.Safari WebKitOmitPDFSupport -bool false

press Return after you enter it, then type exit, and Quit Terminal.

Now relaunch Safari, go back to that site where you want to view a PDF and try it again. It should work.

Mulder

Jun 2, 2008 7:43 PM in response to passion4dance

Okay, try this instead:

Launch Adobe Reader and go to Preferences (Command-K).
Select the Internet category and look for a checkbox on the right that says: Display PDF in browser using:… and uncheck the box if it's checked.
Close Preferences window and Quit Adobe Reader.

Now, Quit Safari if it's running.
Open your HD and go to HD/Applications/Safari.
Control-click on Safari and choose Show Package Contents.
Double-click on the Contents folder; inside is a group of other folders. If you see one labeled Frameworks, send it to the Trash and then close the window.

Also, go to ~/Library/Internet Plug-Ins and look through the list to see if you have one labeled "PDF Browser Plugin"; if not, that's good, so don't install one. If you do have one, remove it to your Desktop or the Trash, but don't empty the Trash yet.

Relaunch Safari and try to view a PDF again; post again with results.

Mulder

Jun 5, 2008 10:19 AM in response to passion4dance

That error suggests that Safari is not set to display PDFs in the browser, because it's still looking for a plugin that isn't installed.

I would try removing Acrobat Reader, quitting Safari, then entering the Terminal command I suggested earlier and trying that PDF again. I have no problem loading it, so I know there's nothing wrong with the file itself.

Mulder

Cannot open PDF files in Sarari

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