Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Is there a way to block all downloads in firefox?

more options

Hello support,

Simple question. Is there a way to block all downloads in firefox (quantum)? I want to restrict all downloads from firefox. i looked everywhere and i caouldn't find an answer.

Best regars, Filip

Hello support, Simple question. Is there a way to block all downloads in firefox (quantum)? I want to restrict all downloads from firefox. i looked everywhere and i caouldn't find an answer. Best regars, Filip

모든 댓글 (4)

more options

Hi Filip, what do you consider to be a download? Would that be only files that trigger the Open/Save dialog, or go into the Temp or Download folder, or would it also include files that Firefox displays such as images and videos?

I don't know whether there are any add-ons that offer a feature to block these various types of content, but it's certainly possible. If you haven't already, you can search here: https://addons.mozilla.org/firefox/extensions/

more options

Hi, only files that trigger Open/Save dialog and go into the Download folder.

I used one add-on and it's incompatible with quantum version of firefox.

more options

Maybe lock the download folder to a specific folder and make sure that no write access is possible to this folder. This might have to include the temp folder that Firefox uses by default to store files temporarily or make sure to cleanup this folder regularly.

more options

Extensions can inspect the response headers that are associated with a server response.

https://developer.mozilla.org/Add-ons/WebExtensions/API/webRequest

So an extension can look at these two headers --

  • content-disposition: attachment indicates an intended download
  • content-type may be something Firefox cannot display, such as a Word document or .mov video file

-- and cancel a request based on what it sees. (This may or may not save on bandwidth because Firefox might keep receiving packets in the background while the analysis is done.)

So I think someone could create an extension to cancel requests when the server is sending something that isn't on a short list of allowed content types, or is a forced download. But has anyone done that or will anyone do that? Your guess is as good as mine.