Modify Content-Type

Modify Content-Type

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

What is Modify Content-Type?
'Modify Content-Type' is a Chrome extension in beta phase, designed to let you manipulate the Content-Type and Content-Disposition HTTP header fields of incoming documents. You can force your browser to display the document or offer it as a download, or override unknown mime types with common ones like 'application/pdf' or 'application/xml'. It helps when handling documents from misconfigured servers.
Merlin
Stats
Users: 10,000+
Rating: 4.27 (33)
Version: 0.2 (Last updated: 2013-11-15)
Creation date: 2013-11-15
Risk impact: High risk impact
Risk likelihood: Low risk likelihood
Manifest version: 2
Permissions:
  • <all_urls>
  • webRequest
  • webRequestBlocking
Size: 43.38K
Stats date:

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.
Chrome-Stats extension
Merlin
Summary

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
User reviews
User reviews summary
These summaries are automatically generated weekly using AI based on recent user reviews. Chrome Web Store does not verify user reviews, so some user reviews may be inaccurate, spammy, or outdated.
Pros
  • Works as expected
  • Useful for rendering PDFs in the browser
  • Helps to open files inline, such as images or textual files
Cons
  • Doesn't work with latest Chrome (72)
  • Not user-friendly: needs knowledge of regex and lacks clear instructions
  • Doesn't seem to work for all content types, such as <embed> tags
Most mentioned
  • Need for clear instructions or tutorials
  • Changes octet-stream to pdf (mime-type) allowing PDF viewing
  • Allows files to be viewed inline.
Recent reviews
Works as expected.
by Helmut Karlowski Helmut Karlowski, 2023-08-21

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. 🤷‍♂️
by Mark Good Mark Good, 2021-09-16

Very useful Kudos!
by Syamsuwar Andi Matto Syamsuwar Andi Matto, 2021-04-03
View all user reviews
Safety
Risk impact

Modify Content-Type is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this extension. Review carefully before installing. We recommend that you only install Modify Content-Type if you trust the publisher.

Risk likelihood

Modify Content-Type has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details
Screenshots
Promo images
Modify Content-Type small promo image
Small promo image
Similar extensions

Here are some Chrome extensions that are similar to Modify Content-Type: