Skip navigation

Cannot View or automatically download PDFs in Safari 7.0

6626 Views 44 Replies Latest reply: Mar 27, 2014 7:14 PM by akhannides RSS
  • ncollingridge Level 1 Level 1 (10 points)

    I have been having this problem as well, and I have tried every other remedy I have found by trawling around, but finally it has been fixed by setting WebKitOmitPDFSupport to NO, as for the others above. FINALLY! Well done to those who found this fix.

  • stephan.zehrer Calculating status...

    Sorry yes this is correct setting  WebKitOmitPDFSupport = no will enable the preview within Safari.

     

    My personal requirement which i did not mention was to enable download and not preview within the browser.

     

    Nevertheless thx

  • Figgy Level 1 Level 1 (65 points)

    This fixed it for me.

     

    .pdf files now display within Safari 7.0 just as swiftly and smoothly as they used in the version of Safari before the Mavericks download.

     

    A big thankyou to all those who provided suggestions and help.

     

    Top work cm477. Thankyou

  • dileep_s Calculating status...

    Thanks this worked for me too.

     

    defaults write com.apple.Safari WebKitOmitPDFSupport -bool NO

  • akhannides Calculating status...

    A year ago, I was able (somehow) to set Safari to do the following: when I clicked on a link to a pdf file, it just downloaded the pdf file to a folder without opening it. In Safari Preferences > General, I defined that folder as "Downloads" and I unchecked the "Safe open" box. I believe that this is what you and garylapointe were doing also.

     

    As of yesterday, it stopped working, and I'd get a new tab with all the gibberish one would expect if Safari is trying to interpret a pdf file on its own. I ran "defaults write com.apple.Safari WebKitOmitPDFSupport -bool NO" so that I can at least get rid of the gibberish and see the pdf file in Safari, until I can figure out how to disable it opening in Safari and just to download.

     

    If and when I find a solution I'll post it here. Just to be clear: my goal isn't to view pdfs in Safari when I click on a link to a pdf file, but to just download them to the folder I define in Preferences > General. No right-clicks, no drop-down menus were needed until yesterday.

  • stevewhitemd Level 1 Level 1 (110 points)

    That is broken in Safari 7/Mavericks. Right now it is a bug and cannot be fixed. I've been reading this thread, other threads, and other resources, and it's just plain broke.

     

    In the meantime you can get PDFs to display within Safari 7 by:

     

    defaults write com.apple.Safari WebKitOmitPDFSupport -bool NO

     

    That isn't what you (nor I) want: we want to click a link for the PDF and have it download automatically to the Downloads folder (or wherever). But that is BROKEN right now, and if you set the logical argument on the string above to 'YES' you'll get the gibberish problem.

     

    Apparently a bug report has been filed to Apple. In the meantime you'll have to display the PDF in Safari and THEN save it using the save icon.

     

    Sorry.

  • akhannides Level 1 Level 1 (0 points)

    Hello, cm477. I'm running Safari 6.1 on Lion. Waiting for a fix....

  • stephan.zehrer Level 1 Level 1 (0 points)

    Did you add a bug report?

  • Herbert Schulz Level 1 Level 1 (0 points)

    Howdy,

     

    I'd get rid of anything that hasn't been updated in a long time. All software can change under you especially those hidden preferences that most of these things use.

     

    Good Luck,

    Herb Schulz

  • hajrë Calculating status...

    Nothing is working for me and this thing is driving me crazy. Please help!! Is there any plugin/extension or anyting else apart from Adobe to view PDF fiiles in Safari as I give up in trying to fix it?

     

    Millions thanks!

  • akhannides Level 1 Level 1 (0 points)

    Just tried the old faithful again, in the off-chance they work as they used too:

    defaults write com.apple.Safari WebKitOmitPDFSupport -bool YES

    defaults write com.apple.Safari AutoOpenSafeDownloads -bool NO

    They now do! I click on the link and it just downloads uncorrupted without opening anywhere.
    For the record, I am running Safari 6.1.2 on 10.7.5.

1 2 3 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (3)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.