Izegrar i yiminig Firefox
  • Isiɣzaf
  • Isental
    • I Firefox
    • Imawalen & ikemmusen n tutlayin
    • Ismal nniḍen n tunigin
    • Izegrar i Android
Qqen
Taskant n Content-Type Fixer

Content-Type Fixer sɣur jscher2000

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.

4.7 (44 reviews)4.7 (44 reviews)
1 765 yiseqdacen1 765 yiseqdacen
Ilaq-ak·am Firefox i useqdec n usiɣzef-a
Sader Firefox syen awi isiɣzaf
Sader afaylu

Asiɣzef aɣefisefka

Tuṭṭfiwin n wegdil
The Zzzz button indicates the extension is not listening/fixing responses. Click the button to start listening/fixing. Click again to drop the menu.Main menu provides the ability to turn the extension off, add or edit Content-Type overrides, enable/disable existing overrides, start automatically, or tweak content disposition. (ver 1.7)Click the switch in the left column to change between enabled (extension will change the Content-Type) to disabled.The Zzzz button indicates the extension is not listening/fixing responses. Click the button to start listening/fixing. Click the button again to drop the menu with choices to stop listening, add a custom Content-Type, start automatically, or tweak content disposition. (ver 1.6)
Ɣef usiɣzef agi
You can find a new help page (for Firefox 98+) here: https://www.jeffersonscher.com/ext/content-type-fixer.html

Operation

This extension does not monitor downloads until you enable it. Use the toolbar button to turn listening on (shows a yellow burst) and off (shows Zzzz). (If you want it on automatically, there is a checkbox on the menu for that.)

Content-Type

The extension checks the file extension on new page and download requests to see whether they have a file extension that should be assigned a specific Content-Type header. (It doesn't look at requests for embedded items like images, audio, or video.)

Automatically corrects the Content-Type for these extensions: .acsm, .css, .csv, .doc/docx, .epub, .pdf, .ppt/pptx, .psd, .rar, .rtf, .xls/xlsx, .zip, and .7z. Some image and video formats can be enabled with a click.

To add more, turn on the extension, try to download a file that isn't being handled correctly, then open the Log of recent requests to find Add and Edit buttons to add a custom Content-Type. The log is not saved to disk and is flushed when you snooze the extension.

Content-Disposition

The extension corrects errors with spaces that cause download file names to cut off. You can optionally force inline disposition, so Firefox follows the rules you've set on the Options/Preferences page without showing the download dialog each time. You also can force attachment disposition to bypass viewing in a tab. I suggest using that option sparingly, only as needed.

Exception Notes

Version 1.7.1+ ignores "Follow my settings (inline)" on Google Drive and for Gmail attachments due to cookie issues. Version 1.7.2+ extends the exception to Google Docs.

Permissions Note

While the extension is listening, it reads the Content-Type and Content-Disposition headers that servers send with files. It may modify the Content-Type and Content-Disposition headers. The extension does not read web pages.

Test Page

Without the extension running, you get bad results for the zip file links and embedded PDF on the following page, and the extension fixes it: https://www.jeffersonscher.com/res/badct/

Hat tip

The code draws from the Display inline extension from samlh: https://addons.mozilla.org/firefox/addon/display-inline/.
Rated 4,7 by 44 reviewers
Qqen akken ad ternud tazmilt i usiɣzef-agi
Ulac tazmilt akka tura

Amḍan n yitran yettwasekles

5
38
4
3
3
1
2
0
1
2
Ɣeṛ akk 44 n iceggiren
Tisirag akked yisefkaIssin ugar

Yesra tisirag:

  • Kcem ɣer isefka-inek deg ismal web meṛṛa
Ugar n telɣut
TigIseɣwan n uzegrir
  • Asebter agejdan
  • Asmel n tallelt
  • Imayl n tallelt
Lqem
1.7.5
Teɣzi
54,78 KB
Aleqqem aneggaru
prije 4 mjeseca (22. tra. 2025)
Taggayin i ilan assaɣ
  • Asefrek n usader
Turagt
Turagt tazayezt n Mozilla 2.0
Amazray n Lqem
  • Wali akk ileqman
Rnu ar tegrumma
Mmel azegrir-a
Tizmilin n tuffɣa n 1.7.5
Added an emergency Content-Disposition fix for Outlook attachment downloads.
Ugar n isiɣzaf sɣur jscher2000
  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

  • Ulac tazmilt akka tura

Ddu γer usebter agejdan n Mozilla

Izegrar

  • Γef
  • Ablug n yizegrar Firefox
  • Tanemselt ɣef usiɣzef
  • Tarbaɛt n ineflayen
  • Tasertit i yineflayen
  • Ablug n temɣiwent
  • Anmager
  • Azen-d abug
  • Aḍris n ucegger

Iminigen

  • Desktop
  • Mobile
  • Enterprise

Ifarisen

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Tabaḍnit
  • Inagan n tuqqna
  • Usḍif

Ala ma yettwammel akken-nniḍen, agbur n usmel-agi yella ddaw n turagt Creative Commons Attribution Share-Alike v3.0 neɣ ileqman imaynuten.