Disable "Content-Disposition: attachment" and force inline display

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.

nalply

Posted 2013-12-23T11:32:08.280

Reputation: 273

1

Or try https://chrome.google.com/webstore/search/undisposition?hl=en

– nalply – 2014-08-15T07:53:49.667

1@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.347

1

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

Answers

4

For everyone still looking for a proper solution, try this plugin: https://chrome.google.com/webstore/search/undisposition?hl=en

Credits to comment from nalply

janxb

Posted 2013-12-23T11:32:08.280

Reputation: 41

2

Not a generic solution, but for those looking for a Firefox solution there is an addon called Inline Disposition.

Vykintasv

Posted 2013-12-23T11:32:08.280

Reputation: 21