jscher2000 / Content-Type-Fixer-extension

Firefox extension to override dumb Content-Type headers with correct values
Mozilla Public License 2.0
23 stars 2 forks source link

Allow disable for images #13

Open simonbcn opened 2 years ago

simonbcn commented 2 years ago

When I click on "Download" on an image in Google Photos, instead of downloading it, it opens it in the browser.

jscher2000 commented 2 years ago

I'm guessing here, but:

You might need to change your setting under "Content Disposition Override" to "As set by the server" instead of "Follow my settings (inline)".

Currently, I don't have a way to do that only for one site or only for a short period of time, so when you notice a problem with forced downloading on a different site, you can switch it back.

simonbcn commented 2 years ago

Or allow disable images in "Enable/Disable Content Types".

jscher2000 commented 2 years ago

Unless you have added a Content-Type change for the relevant file extension (.png, .jpg), the Content-Type is not the problem, it would be the Content-Disposition.

I have wanted to redesign the extension for some time, but it's a big project and I don't know when I'll have time to work on it.