15
2
Websites which use Content-Disposition: attachment
force me to download the document which I dislike.
For example I want to print out the invoices of my ISP for taxation purposes. Their stupid website forces me to download twelve PDF files like 5834886-1_104679449.pdf
. These clutter up my download folder. Even worse if the link is not informative enough and I need to check the document by opening it.
How can I disable Content-Disposition:attachment
and force my browser to use inline display of the PDF? If I want to save the file, I can do it from the browser menu or press Control/CommandS.
I am using Google Chrome on OS X, but I would like to have a generic solution working for all browsers and operating systems, if possible.
1
Or try https://chrome.google.com/webstore/search/undisposition?hl=en
– nalply – 2014-08-15T07:53:49.6671@nalply Thank you, Undisposition works beautifully. You should write that as an answer :) – Navin – 2016-11-06T06:02:37.203
1
Related question: http://superuser.com/questions/199382/make-chrome-always-open-pdfs-itself
– Pi Delport – 2014-03-31T08:18:21.3471
This is currently a "won't fix" issue in the Chromium issue tracker: https://code.google.com/p/chromium/issues/detail?id=67643 Using one of the linked Chrome extensions is probably the only solution to this, for now.
– Pi Delport – 2014-03-31T08:37:29.973