Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Drag and Drop while saving an Image saves a 403 HTML-File instead of the picture

  • 1 件の返信
  • 0 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: peter-91

more options

I encountered an issue which persists since years, it however only happens on some websites...

The Websites where this issue appears are:

https://pixiv.net/ (when downloading images which can only be seen when logged in) https://danbooru.donmai.us/

How does the issue works? (Steps to reproduce)

1. Open any image you want to save 2. Drag and drop the image to your computer into a directory 3. The image is "corrupted" when you want to display it. In fact it isn't even an image, its a HTML File, usually containing a message like "403 - forbidden"

Why does it happen? It seems Firefox tries to re-download the image from the Server while doing drag and drop and usually it does that in a kind of private window? I mean usually the HTML-Files contain "403 Access forbidden" or other messages like "please enable cookies".

I know there are ways to save the images, like with the "Save as..." Dialog. But doing that for a lot of images, which each goes into a different directory the "save as feature is very inconvenient to use.

My question is: Can I just "save" the image which is already in the Firefox cache?

Its already displayed, so why does it even try to re-download it? Especially on slower sites I noticed an annoying long wait to drag and drop images. Seems like a rather bad idea, also just adds unnecessary traffic to the Servers where you download the images from. Beside on some sites with CDNs it just doesn't work and gives you a HTML-File as "png/jpg" image...

I encountered an issue which persists since years, it however only happens on some websites... The Websites where this issue appears are: https://pixiv.net/ (when downloading images which can only be seen when logged in) https://danbooru.donmai.us/ How does the issue works? (Steps to reproduce) 1. Open any image you want to save 2. Drag and drop the image to your computer into a directory 3. The image is "corrupted" when you want to display it. In fact it isn't even an image, its a HTML File, usually containing a message like "403 - forbidden" Why does it happen? It seems Firefox tries to re-download the image from the Server while doing drag and drop and usually it does that in a kind of private window? I mean usually the HTML-Files contain "403 Access forbidden" or other messages like "please enable cookies". I know there are ways to save the images, like with the "Save as..." Dialog. But doing that for a lot of images, which each goes into a different directory the "save as feature is very inconvenient to use. My question is: Can I just "save" the image which is already in the Firefox cache? Its already displayed, so why does it even try to re-download it? Especially on slower sites I noticed an annoying long wait to drag and drop images. Seems like a rather bad idea, also just adds unnecessary traffic to the Servers where you download the images from. Beside on some sites with CDNs it just doesn't work and gives you a HTML-File as "png/jpg" image...

すべての返信 (1)

more options

I also like to mention: Chromium based Browsers don't have this issue, but I thought there is maybe a solution to save the cache image instead of re-downloading (Probably what chromium based Browsers do)