Modify Content-Type

CRX ID
jnfofbopfpaoeojgieggflbpcblhfhka
Status
No Privacy Policy Live on Store
Description from extension meta

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

Image from store
Modify Content-Type
Description from store

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

Latest reviews

Joel Mora 2024-05-31

I had hopes it worked for me but I tried multiples cases and it didn't

Joachim Lous 2024-05-31

Works. Just be sure you know you regexes, and everything that needs to be escaped (like '+'), or the rule won't match.

Helmut Karlowski 2023-08-21

Works as expected.

Helmut Karlowski 2023-08-21

Works as expected.

Mark Good 2021-09-16

I couldn't not get it to match on any filter expression. Tested my regex and it was valid. It just refused to change the content type. 🤷‍♂️

Mark Good 2021-09-16

I couldn't not get it to match on any filter expression. Tested my regex and it was valid. It just refused to change the content type. 🤷‍♂️

Syamsuwar Andi Matto 2021-04-03

Very useful Kudos!

Syamsuwar Andi Matto 2021-04-03

Very useful Kudos!

Wiley Sanders 2020-10-06

For experts only, minimal documentation. Would be more useful if it had a feature to snoop headers and inform you of a download's mime type.

Wiley Sanders 2020-10-06

For experts only, minimal documentation. Would be more useful if it had a feature to snoop headers and inform you of a download's mime type.

Kyle Balling 2020-07-08

This does not seem to modify content type when the content is displayed in an <embed> tag generated on the fly.

Kyle Balling 2020-07-08

This does not seem to modify content type when the content is displayed in an <embed> tag generated on the fly.

miva YS 2020-02-02

It works! >>> URL Filter: .* Original Type: application/octet-stream.*; name=".*\.pdf" Replacement Type: application/pdf Disposition: inline >>>

miva YS 2020-02-02

It works! >>> URL Filter: .* Original Type: application/octet-stream.*; name=".*\.pdf" Replacement Type: application/pdf Disposition: inline >>>

Michael Stephenson 2019-10-14

Any example how to use it? https://sd-app-01:8443/assystnet/attachments/Attachment?linkedObjectId=11587969&linkedObjectTypeId=46&attachmentId=1607746&attachmentDate=1570695459307 How convert it to png?

Michael Stephenson 2019-10-14

Any example how to use it? https://sd-app-01:8443/assystnet/attachments/Attachment?linkedObjectId=11587969&linkedObjectTypeId=46&attachmentId=1607746&attachmentDate=1570695459307 How convert it to png?

Richard Yang 2019-06-29

Only extension available that was able to render a PDF in browser. All I had to do was change octet-stream to pdf (mime-type) and attachment to inline.

Richard Yang 2019-06-29

Only extension available that was able to render a PDF in browser. All I had to do was change octet-stream to pdf (mime-type) and attachment to inline.

aparna shilpa 2019-02-19

Extension works great but it is no longer supported by latest version of Chrome Browser (72). Any tips on getting this working ?

aparna shilpa 2019-02-19

Extension works great but it is no longer supported by latest version of Chrome Browser (72). Any tips on getting this working ?

John Chen 2019-02-18

not work in 72.0.3626.109

John Chen 2019-02-18

not work in 72.0.3626.109

Martin Hering 2018-08-05

It works for PDFs for me. Using the following settings: URL Filter: .* Original Type: application/.*pdf Replacement Type: application/pdf Disposition: inline

Martin Hering 2018-08-05

It works for PDFs for me. Using the following settings: URL Filter: .* Original Type: application/.*pdf Replacement Type: application/pdf Disposition: inline

Rohit R 2018-02-02

Please provide instruction on how to use it. What rule to be added to open all png images in browser itself (for all websites i visit). Currently when i click on a png, its downloading the image..

Rohit R 2018-02-02

Please provide instruction on how to use it. What rule to be added to open all png images in browser itself (for all websites i visit). Currently when i click on a png, its downloading the image..

István Ujj-Mészáros 2017-06-07

Works like a charm (not when opening a file directly, but works through a web server). I am using it to view txt files as HTML.

István Ujj-Mészáros 2017-06-07

Works like a charm (not when opening a file directly, but works through a web server). I am using it to view txt files as HTML.

Alessandro Meroni 2016-09-15

very useful for filter larger xml files to be opened from chrome!!

Mike Crews 2016-06-21

This is perfect for fixing over-engineered web applications like JIRA and Confluence that force your browser to download content that could easily be displayed inline.

Mike Crews 2016-06-21

This is perfect for fixing over-engineered web applications like JIRA and Confluence that force your browser to download content that could easily be displayed inline.

Anonymous 2016-04-11

doesnt work at all

Anonymous 2016-04-11

doesnt work at all

Vijay Srivastava 2015-10-28

You can use this to render git row file, which normally comes with text out put.

Vijay Srivastava 2015-10-28

You can use this to render git row file, which normally comes with text out put.

Brad Stronger 2015-05-04

I added a simple rule to change all image/png to Disposition: inline. No more stupid image downloads!

Brad Stronger 2015-05-04

I added a simple rule to change all image/png to Disposition: inline. No more stupid image downloads!

Dex Luther 2015-02-11

Kinda sad I have to download an add-on to do something the browser should be able to do on it's own. Thanks for making this available to correct yet another one of Chrome's pitfalls. The instructions could be a lot better to make this a lot easier to use.

Dex Luther 2015-02-11

Kinda sad I have to download an add-on to do something the browser should be able to do on it's own. Thanks for making this available to correct yet another one of Chrome's pitfalls. The instructions could be a lot better to make this a lot easier to use.

Rohit N. 2015-01-21

Awesome, works great, you need to know regex though but the instructions are great!

Rohit N. 2015-01-21

Awesome, works great, you need to know regex though but the instructions are great!

George Averill 2015-01-08

Lets me view textual files that the browser normally tries to download. Thanks!

George Averill 2015-01-08

Lets me view textual files that the browser normally tries to download. Thanks!

Daniel Raj Norman Vaseehar 2014-06-25

how to use this tool to change the content type

Daniel Raj Norman Vaseehar 2014-06-25

how to use this tool to change the content type

Maryann Frank 2014-06-05

i loved it because we are so fast of typeing

Maryann Frank 2014-06-05

i loved it because we are so fast of typeing

Juan Rodriguez (Juani) 2014-03-08

Do what it says. Easy to use.

Juan Rodriguez (Juani) 2014-03-08

Do what it says. Easy to use.

Justinas Bedzinskas 2013-12-13

Very useful extension which we are using in our project! 5 stars.

Statistics

Installs
8,000
Market
Chrome Web Store
Category
Rating
4.23 (35 votes)
Last update
2013-11-15
Version 0.2
Languages