Up until Firefox version 97, files opened but not downloaded were saved on a hidden "temp" folder, deleted automatically after restart. Since Firefox version 98, they are all downloaded to a visible folder, either chosen by the user or the "Download" one, in Windows/Linux. A super annoying change. In their own words:
How can I manually revert this change? Settings have no option related to this.
~/Downloads/
directory that I can visually see. And when the download is complete, the temp is renamed and there you go. I wonder if this is a Windows specific thing?