Modify Content-Type

#4.23 / 35 rate

Modify Content-Type

10,000 users

2013-11-15

Daniel Calliess

Extension Information

5 star
51%
4 star
21%
3 star
19%
2 star
6%
1 star
4%

Supported Languages

Permissions

Description

Change the response content type to force documents to open in or outside the browser window or in a special view mode (PDF, XML...)

This extension is in beta state, please send feedback on your experiences and wishes!

'Modify Content-Type' allows manipulation of the Content-Type and Content-Disposition HTTP header fields of incoming documents. This may be helpful if you like to force the browser to either show a document inside the browser window or to offer it as a download. It also can be used to override unknown mime types sent by misconfigured servers. Just replace them by f.e. 'application/pdf' or 'application/xml' and Chrome will know how to show the document.

Permissions:
- 'Access your data on all websites': required to get access to the http headers of requested documents.

Updates:
- 0.2
-- added support for multiple rules per URL