Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Bypass Forced Download

Bypass Forced Download by Lukas Mai

Remove "Content-Disposition: attachment"

4.6 (37 reviews)4.6 (37 reviews)
418 Users418 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Some websites force users to download/save certain files, even if Firefox knows how to handle them (e.g. by displaying them directly (HTML, PDF, ...) or by opening them in another program). This add-on completely disables this functionality; i.e. if Firefox knows what to do with a file, it will do it, and all download requests are ignored. (You can still explicitly save files by right-clicking on a link and choosing "Save Link As..." or by using "Save Page" in the Firefox menu.)

Technical details:
A website can force a download by setting the Content-Disposition: attachment header. This add-on intercepts such headers and rewrites them to Content-Disposition: inline, restoring the default behavior.

It is possible to selectively disable this add-on on some sites by editing the add-on settings in the add-on manager (about:addons). The values should be a list of space separated host names (*, **, and ? are supported as wildcards). The patterns are matched against the host a download is coming from. This add-on doesn't tamper with downloads if the host name doesn't match a whitelist pattern ("hosts to run on") or if the host name matches a blacklist pattern ("except for").

? matches a single non-dot (.) character. * matches 0 or more non-dot characters. ** matches 0 or more characters (including dots). For example, the pattern *.example.com matches foo.example.com but does not match foo.bar.example.com, whereas **.example.com matches both.

The default whitelist is ** (bypass forced downloads everywhere). (The default blacklist is subject to change but currently includes some soundcloud and mediafire hosts because you probably do want to start a download if you click on a "download" button on those sites.)
Developer comments
Issues with this add-on can be reported at https://github.com/mauke/bypass-forced-download/issues.
Rated 4.6 by 37 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
32
4
1
3
2
2
0
1
2
Read all 37 reviews
Permissions and dataLearn more

Required permissions:

  • Access your data for all web sites
More information
Version
0.2.1resigned1
Size
10.1 kB
Last updated
a year ago (25 Apr 2024)
Related Categories
  • Download Management
Licence
Mozilla Public Licence 2.0
Version History
  • See all versions
Add to collection
Report this add-on
More extensions by Lukas Mai
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.