question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PDF gets downloaded instead of opening

See original GitHub issue

Carried over from https://github.com/brave/browser-laptop/issues/10954

Description

PDF gets downloaded instead of opening

Steps to reproduce

  1. Visit this link http://www.fina.org/content/swimming-world-ranking
  2. Generate report, doesnt display
  3. Enable all cookies, pdf downloads
  4. Open same link in Chrome, loads the pdf and doesn’t download

Issue above (from browser-laptop) has other good examples too

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jsquyrescommented, Sep 17, 2019

@rebron Kudos to you, sir!

No, I did not have that toggled off. Once I toggled it off, I can view PDFs in Brave, birds are signing, unicorns are frolicking, …etc. 🎉

Thank you for all the hard work on Brave!

1reaction
ryanbrcommented, May 4, 2021

Affects Chrome also. Believe it’s related https://bugs.chromium.org/p/chromium/issues/detail?id=333

  • Compared Chrome and Brave. Both will natively show pdf’s with it’s pdf view.
  • Changing brave://settings/content/pdfDocuments?search=pdf in both Chrome/Brave, will just download the pdf (but not automatically open).

Maybe we close this until it’s fixed upstream in Chrome, thoughts? @bsclifton

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set Chrome to open PDF rather than download them
If your PDFs are downloading instead of opening automatically in Chrome, Chrome PDF viewer could be turned off. On your computer, open Chrome....
Read more >
Downloaded PDF only opens in Chrome, when I need it to ...
Click on this. 4 - There should be one option that says Download PDF files instead of automatically opening them in Chrome. Click...
Read more >
Make Google Chrome Download PDF Files Instead of Opening
To Make Google Chrome Download PDF Files Instead of Opening ; Open the menu (Alt+F), and select Privacy and security > Site Settings...
Read more >
Why does Chrome sometimes download a PDF instead of ...
Basically, this happens because the website tells the browser to do it. Occasionally, it's because the website developer decides they want ...
Read more >
Chrome automatically download pdf instead of opening error
Please open chrome settings, go to downloads section and from there check if "ask where to save files" is turned on by default...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found