28

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.

5

2 Answers 2

13

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

1
  • 3
    A similar approach, described in this answer, uses the Modify Content-Type extension. That one has a slightly higher set-up complexity but it allows to restrict the changes to pre-specified domains.
    – E.P.
    Jan 4, 2021 at 17:13
3

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .