30

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.

slhck
  • 235,242
nalply
  • 433
  • 1
  • 5
  • 9

2 Answers2

14

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
  • 141
3

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