Hey guys

Today I got so annyed by firefox’s default behaviour of downloading each and every PDF file to my disk that I went searching for a solution until I had the problem fixed. And it seems like I have finally found it. I have linked the solution but here is the fix in short:

  1. go to about:config
  2. change browser.download.open_pdf_attachments_inline to true

Thank you jscher2000 for the solution!


cross-posted from: https://lemmy.world/post/9785046

You are viewing a single thread.
View all comments
24 points
*

it isn’t in right in firefox’s settings -> general -> under ‘files and applications’ ??

‘open in firefox’ (what you want), vs ‘always ask’, ‘always save’ (download) or ‘open in default application’ (such as adobe reader). actions are configurable for many file types.

permalink
report
reply
32 points

I believe even if you choose “Open in Firefox”, it will still download the PDF to the default download directory before opening it inside a Firefox tab. The behavior that OP describes above seems to prevent that downloading (and having the file around in your default download directory).

permalink
report
parent
reply
15 points
*

I don’t know whether they fixed it since, but last I checked that option was broken.
No matter what you select, half the time it still downloads the PDF to your drive.

permalink
report
parent
reply
4 points

It even says in the description that these settings determine how firefox will handle them after downloading them.

permalink
report
parent
reply
1 point

i have ‘open in firefox’ enabled on this pc for pdf. i never get a dl prompt. goes right to the internal pdf viewer every time.

permalink
report
parent
reply

Firefox

!firefox@lemmy.ml

Create post

A place to discuss the news and latest developments on the open-source browser Firefox

Community stats

  • 1.5K

    Monthly active users

  • 926

    Posts

  • 17K

    Comments

Community moderators