Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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)