Content-Type Fixer

Content-Type Fixer

Firefox doesn't follow instructions for downloads? "Always Open Similar Files" is missing? This usually happens because the server sent Firefox a wrong/generic Content-Type header, or forces a download with Content-Disposition. Here's a fix.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "name": "Content-Type Fixer",
  "description": "Override dumb Content-Type headers to fix download problems, and downloading forced by Content-Disposition: attachment.",
  "version": "1.7.4.1",
  "manifest_version": 2,
  "applications": {
    "gecko": {
      "id": "{ff75dc6a-251e-42e2-955d-b33dd660a54c}",
      "strict_min_version": "60.0"
    }
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "permissions": [
    "<all_urls>",
    "webRequest",
    "webRequestBlocking",
    "storage"
  ],
  "browser_action": {
    "browser_style": true,
    "default_title": "Turn Content-Type Fixer ON",
    "theme_icons": [
      {
        "light": "icons/hammer-64-Zzzz-lightbg.png",
        "dark": "icons/hammer-64-Zzzz.png",
        "size": 64
      }
    ]
  }
}