為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

when I click on a file, how can I skip saving it and go straight to running it?

more options

Every file I have had to download has made me save the file. How can I get it to just open the file without having it automatically saved somewhere on my hard drive?

Every file I have had to download has made me save the file. How can I get it to just open the file without having it automatically saved somewhere on my hard drive?

所有回覆 (2)

more options

Well, if the program is not saved, how can the computer run it? I know that Windows Explorer can do this. The file is saved to a temporary folder, ran, then removed. I don't know if Firefox can do that.

Go to the Mozilla Add-ons Web Page (There’s a lot of good stuff here) and look for something that can do this for you.

more options

You can set how you want to handle files globally under Options → General.

You can set what you want to do with particular files types under Options → Applications.

You'll always see a download prompt if the server sends either the Content-Disposition: attachment or the Content-Type: application/octet-stream header. You can either post an example link so someone can check, or you can examine the server response headers yourself using the Web Console.

The workarounds are the InlineDisposition and Force Content-Type add-ons, respectively.

Also note that for security reasons, executable files (.exe, .msi) can't be launched automatically.