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...)

Modify Content-Type: Control Your Content Display In Browser

'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.
Install from Chrome Web Store

Extension stats

Users: 6,000+
Rating: 4.23
(35)
Version: 0.2 (Last updated: 2013-11-15)
Creation date: 2013-11-15
Risk impact: High risk impact
Risk likelihood:
Manifest version: 2
Permissions:
  • <all_urls>
  • webRequest
  • webRequestBlocking
Size: 43.38K

Other platforms

Not available on Android
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.

Extension 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

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 for many users.
  • Very useful for modifying content types, especially for PDFs.
  • Allows users to view certain file types inline that would typically be downloaded.
Cons
  • Minimal documentation and support, making it difficult for non-experts.
  • Does not consistently modify content types, particularly with dynamically generated content.
  • Not supported by the latest version of Chrome for some users.
Most mentioned
  • Works as expected.
  • Very useful.
  • Not working in the latest version of Chrome.
  • Minimal documentation.
User reviews
I had hopes it worked for me but I tried multiples cases and it didn't
by Joel Mora, 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.
by Joachim Lous, 2024-05-31

Works as expected.
by Helmut Karlowski, 2023-08-21
View all user reviews

Extension safety

Risk impact

Modify Content-Type requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk likelihood

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

Upgrade to see risk analysis details

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: