On the circumvention of forced downloading instead of opening
The date is 2023/08/22 and I am on Windows 10, using Firefox 116.0.2 (64-bit). I am observing a specific behavior where by certain files, often files which Firefox is we… (læs mere)
The date is 2023/08/22 and I am on Windows 10, using Firefox 116.0.2 (64-bit).
I am observing a specific behavior where by certain files, often files which Firefox is well equipped to render, such as Plain Text files, jpegs, and other image formats, are being force-downloaded when clicked on, or when their link is pasted into a new tab. The proof that Firefox is able to display these files is ascertained by way of setting Windows file associations to Firefox itself, and turning off automatic downloads within Firefox, which presents the user with an Open or Save dialog. However, selecting Open does indeed obey the Windows prerogative declared in the file association index, however, the file was still downloaded as an entirely superfluous action, and and then opened by Firefox, from the default "download" directory. This behavior can be repeated in some instances even with images, when right clicking on the image, and selecting "open in new tab", where by the image will be downloaded by that new tab instead of being rendered.
What is the proper methodology to navigate the problem space of this unwanted behavior? The success condition would be Firefox not downloading the file at all and opening it like it is able to do in other instances.
PS: I realize all content is actually downloaded anyway, otherwise it wouldn't be possible to render it. However, this is done in the defined cache folder. I would like this behavior to extend to all files. Excluding, of course, executable binaries, as I understand that design decision is made for security reasons and to allow malware scanners to function properly.
Thank you in advance.