Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Block downloads from specific sites

  • 5 replies
  • 0 have this problem
  • 15 views
  • Last reply by cor-el

more options

There's a site I use frequently that downloads .htm files to my computer every time I open it in a new window. The site does not have a settings page to turn this feature off. It also functions exactly the same once the file is deleted, and it only recently started doing this. I trust that the files are not malicious, but I also find it annoying to manually delete them every single time.

Is there a way within Firefox to block specific sites from downloading content?

There's a site I use frequently that downloads .htm files to my computer every time I open it in a new window. The site does not have a settings page to turn this feature off. It also functions exactly the same once the file is deleted, and it only recently started doing this. I trust that the files are not malicious, but I also find it annoying to manually delete them every single time. Is there a way within Firefox to block specific sites from downloading content?

All Replies (5)

more options

I have no idea what those files are, but one thing you could do is turn off auto-saving so you can more quickly reject the download. This setting is on the Settings page, below the "Applications" box. I'm repurposing this image, so skip over the first page and look at the lower part:

more options

Did you check the content of those files assuming that this aren't zero byte files ?

more options

cor-el said

Did you check the content of those files assuming that this aren't zero byte files ?

They are zero-byte files, actually.

more options

Some users have reported getting 0 byte files that are described on the downloads list as moz-safe-about files. I'm not sure what triggers those. It's possibly related to pages or ad servers trying to access built-in about: pages and Firefox providing a fake response.

more options

Getting zero-byte .htm files can be caused by downloading a file over an insecure HTTP link from a secure HTTPS page (i.e. mixed content is on the page) or by Firefox sending a HTTP background request in HTTPS-Only mode and "dom.block_download_insecure = true" You can try:

  • about:config => dom.security.https_only_mode_send_http_background_request => false