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

搜尋 Mozilla 技術支援網站

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

了解更多

How do I enable file downloads without requiring helper applications?

  • 5 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

Firefox is now requiring helper applications for "apt" downloads. I don't want that. I just want to download files and install by hand. How do I regain always having the option to simply download any file, of any type?

Firefox is now requiring helper applications for "apt" downloads. I don't want that. I just want to download files and install by hand. How do I regain always having the option to simply download any file, of any type?

所有回覆 (5)

more options

What is an APT file?

Are you getting the Open/Save/Cancel dialog, or the Save/Cancel dialog, or is Firefox attempting to open the file directly?

Firefox generally associates programs or plugins with content types instead of file extensions. This information may be gleaned from your operating system or from plugins. This information is stored in a file named mimeTypes.rdf and is maintained automatically, so it's risky (and might be fruitless) to edit the file by hand...

more options

To see whether the changed behavior is a feature of one of your extensions, could you try downloading APT files in Firefox's Safe Mode? That's a standard diagnostic tool to bypass interference by extensions (and some custom settings). More info: Diagnose Firefox issues using Troubleshoot Mode.

You can restart Firefox in Safe Mode using

Help > Restart with Add-ons Disabled

In the dialog, click "Start in Safe Mode" (not Reset)

Any difference?

more options

I was confused. Some sites for downloads (such as for Firefox plugins) are now using "apt://" URLs - something I've never seen before. Then Firefox insists it needs a helper application for "atp". I thought it was referring to the ".deb" file extension, not to "apt://".

These sites should also provide .deb files for Ubuntu and Debian installation as file downloads. Forcing use of a helper application, and installation from within the browser rather than supporting the option to install by hand from the command line, is too clever by half, and can create security risks.

It's not Firefox's problem, except perhaps it might be clearer that it is "apt://" URLs that it has trouble with, and not a filetype as such.

more options

Got it. The non-standard protocol at the left of the URL does need some kind of handler.

Is this relevant? http://askubuntu.com/questions/183505/how-do-i-open-apt-links-in-firefox-on-lubuntu

more options

You probably want to save such a file and use that package installer to install this package.

Try to rename (or delete) the mimeTypes.rdf file in the Firefox profile folder to reset all file actions.

You can also search on the about:config page to see if anything comes up for the .apt file extension.