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

Latest Version

Version
0.2
Update
November 15, 2013
Size
42.36KiB
Developer
Category
Users
6,000+
Rating
4.22857 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions

WebRequest
WebRequestBlocking
See more

Modify Content-Type Extension

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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Modify Content-Type", "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...)", "version": "0.2", "manifest_version": 2, "background": { "scripts": [ "jquery-2.0.3.min.js", "background.js" ] }, "icons": { "16": "mct16.png", "48": "mct48.png", "128": "mct128.png" }, "permissions": [ "", "webRequest", "webRequestBlocking" ],"options_page": "options.html"}
Read more

How to download and manually install Modify Content-Type extension for Chrome

Looking for a way to install Modify Content-Type extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Modify Content-Type extensions manually, this article outlines two simple methods to effortlessly install Modify Content-Type extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Modify Content-Type extension and manually install through Drag &Drop

If you ever need to manually install a Modify Content-Type extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Modify Content-Type Extension by clicking the "Download CRX" button on the website.

Look for the Modify Content-Type extension you wish to install. Go to the website and download the Modify Content-Type extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Modify Content-Type extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Modify Content-Type extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Modify Content-Type extension for Chrome and install in Developer Mode

This is another method to install Modify Content-Type extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Modify Content-Type extension file

Select and download the Modify Content-Type extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Modify Content-Type extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Modify Content-Type extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Modify Content-Type extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Modify Content-Type extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Undisposition [Racle fork] Extension · Productivity 6,000+ 35 ★ 15.47KiB

icon

PDF Forcedownload Blocker Extension · Productivity 6,000+ 41 ★ 2.99KiB

icon

Tamper Chrome (extension) Extension · Developer Tools 6,000+ 233 ★ 20.92KiB

icon

Don't Download PDFs Extension · Productivity 6,000+ 17 ★ 13.17KiB

icon

performance-HTML Extension · Developer Tools 6,000+ 8 ★ 19.31KiB

icon

Redirector Extension · Productivity 6,000+ 99 ★ 15.54KiB

icon

XML Tree Extension · Developer Tools 6,000+ 555 ★ 422KiB

icon

Requestly - Intercept, Modify & Mock HTTP Requests Extension · Developer Tools 6,000+ 1227 ★ 876KiB

icon

Examine Offline Data (Cookies, HTML5 Storage) Extension · Developer Tools 6,000+ 5 ★ 33.75KiB

icon

HTTP Header Spy Extension · Developer Tools 6,000+ 62 ★ 149KiB

icon

Syntaxtic! Extension · Developer Tools 6,000+ 200 ★ 106KiB

icon

Finding patterns Extension · Developer Tools 6,000+ 5 ★ 171KiB

icon

Modify Header Value (HTTP Headers) Extension · Developer Tools 6,000+ 46 ★ 94.33KiB

icon

Request Maker Extension · Developer Tools 6,000+ 184 ★ 138KiB

icon

JScript tricks Extension · Developer Tools 6,000+ 50 ★ 340KiB

icon

Header-Editor Extension · Developer Tools 6,000+ 17 ★ 131KiB

icon

Header Hacker Extension · Developer Tools 6,000+ 121 ★ 159KiB

icon

Swoosh Cookie and Local Storage Specialist Extension · Developer Tools 6,000+ 121 ★ 720KiB

icon

jQuery Debugger Extension · Developer Tools 6,000+ 110 ★ 88.52KiB

icon

Code Formatter Extension · Developer Tools 6,000+ 35 ★ 5.9MiB

icon

No PDF Download Extension · Productivity 6,000+ 42 ★ 8.05KiB

icon

Sight Extension · Developer Tools 6,000+ 248 ★ 871KiB

icon

Storage Area Explorer Extension · Developer Tools 6,000+ 149 ★ 129KiB

icon

d3coder Extension · Developer Tools 6,000+ 37 ★ 108KiB

User reviews

icon

Helmut Karlowski (ID: 00000029be41ecd9) Voted 4 ★ - Updated 08/21/2023 Works as expected.

icon

Mark Good (ID: 000000e74bd83639) Voted 2 ★ - Updated 09/16/2021 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. 🤷‍♂️

icon

Syamsuwar Andi Matto (ID: 000000dc3da4b5ce) Voted 5 ★ - Updated 04/03/2021 Very useful Kudos!

icon

Wiley Sanders (ID: 0000006bd6d3ba6f) Voted 3 ★ - Updated 10/06/2020 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.

icon

Kyle Balling (ID: 000000e79e342344) Voted 3 ★ - Updated 07/08/2020 This does not seem to modify content type when the content is displayed in an tag generated on the fly.