Downloads auto-save when I don't want them to
In Settings -> General -> Files and Applications -> Applications I have set "Portable Document Format (PDF)" to "Open in Firefox".
Opening the PDF on http://www.spectronicdevices.com/pdf/TCD1205D.pdf displays that exact link in the URL bar and I can read the PDF directly in Firefox. As far as I can tell, the file is not saved on disk. Opening https://www.alldatasheet.com/datasheet-pdf/download/32192/TOSHIBA/TCD1205D.html and entering the 5-digit code opens a new tab that also allows me to read the PDF in Firefox, but the URL bar shows "file:///C:/Users/N/AppData/Local/Temp/TCD1205D.PDF". The file is saved in my temp folder.
How can I configure Firefox to never save PDF and XML files to disk?
I am using Firefox 130.0.1 on Windows 11.
Alla svar (1)
To be specific: I never want Firefox to save a file to disk and then display that file. That also applies to other file types. If I have e.g. "Extensible Markup Language (XML)" set to "Open in Firefox", then I want it to show the file "in memory", like it does with the first example link. And if I have it set to "Always ask", then it should display the dialog box that asks me what to do.
How can I configure Firefox to do that?