5 Replies Latest reply: Nov 24, 2008 6:30 AM by Erkki Pöytäniemi.
Sevy2205 Level 1 Level 1 (0 points)
It use to work fine, but lately, Safari will not open PDF files from certain sites. It is OK when a site downloads a pdf to open it. It downloads it and Preview then opens it. But for other sites such as my bank web site, it opens the pdf within Safari and I just get a blank page.

It use to work, any idea how I can fix that?

iMac 24 " 3,06 Ghz, Mac OS X (10.5.5), FCE 3.5
  • Sevy2205 Level 1 Level 1 (0 points)
    I reinstalled Acrobat Reader 9 and it asked me to install a plugin for Safari. Now it seem to be working.

    My problem seems to be solved, but if someone can explain me what happened, I would appreciate it!
  • Mulder Level 6 Level 6 (8,980 points)
    Your problem isn't solved, you just added to it. Safari is perfectly capable of displaying PDF files without using any third-party applications or plugins, but you just installed one. Acrobat Reader is bloatware and totally unnecessary, so if you want to use Safari's built-in capability, do this:

    1. Quit Safari if it's running.
    2. Launch Acrobat Reader and go to Preferences > Internet and uncheck the box for the section at the top labeled "Display PDFs in browser using:".
    3. Go to HD/Library/Internet Plug-Ins and delete the Adobe Reader plugin.
    4. Enter this command in Terminal, press Enter, then quit Terminal:

    defaults write com.apple.Safari WebKitOmitPDFSupport -bool false



    Restart Safari and try dragging a PDF file from your Mac directly into an open browser window; it should render without any problems.

    Mulder
  • Sevy2205 Level 1 Level 1 (0 points)
    Thanks Mulder.

    Stangely, I could not find the Adobe Reader plugin in the HD/Library/Internet Plug-Ins, but I did eveything else and its working perfectly.

    Do you have any idea of what could have caused Safari not to be able to display PDFs all of a sudden? Thanks to you it is fixed now, but I would like to prevent from happening again...

    And If I understand you right, there is no need for me to keep Acrobat reader? I know I can do a lot with Preview (and I really like it), but are there times when Acrobat Reader would be better?

    Thank you again!
  • Mulder Level 6 Level 6 (8,980 points)
    Without seeing exactly how your system was setup, I couldn't tell you why Safari didn't display PDFs before, but I suspect your preferences were changed somehow. As for the Adobe plugin, I don't know exactly what it's called, but it is there; otherwise it could not have displayed any PDF files in Safari before you turned off that function.

    There are some PDF files that Preview has trouble opening, but they are very few in terms of percentage. But if you encounter one, you could then download Adobe Reader for that specific purpose and don't let it set it's plugin to render PDF files in Safari.

    Mulder
  • Erkki Pöytäniemi. Level 1 Level 1 (45 points)
    Thanks Mulder - I had the same problem and your advice worked for me too. But also I did not find the plugin. Maybe Adobe deletes it itself when changing the preferences? Anyway thank you for your advice