X
Tap here to go to the mobile version of the site.

Support Forum

Clear downloads automatically after downloaded

Posted

Hello,

Is there a setting in about:config that will turn off the history of my downloads?

Let me explain. Once I click on something to download I notice that the download arrow appears. This is good so I can check if my download is downloading properly. But after the download is complete it leaves a history of my download visible.

The download history will only be removed once I close/exit Firefox or until I right click in the downloads window and click on "remove from history" or "clear downloads".

What I am looking to do is once the download is complete can the download automatically be removed by adjusting a setting in the about:config section?

Thanks in advance.

Regards, techspecX

Hello, Is there a setting in about:config that will turn off the history of my downloads? Let me explain. Once I click on something to download I notice that the download arrow appears. This is good so I can check if my download is downloading properly. But after the download is complete it leaves a history of my download visible. The download history will only be removed once I close/exit Firefox or until I right click in the downloads window and click on "remove from history" or "clear downloads". What I am looking to do is once the download is complete can the download automatically be removed by adjusting a setting in the about:config section? Thanks in advance. Regards, techspecX
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

More Information

Wesley Branton
  • Top 10 Contributor
553 solutions 4767 answers

Helpful Reply

Unfortunately, this is not a native feature in Firefox. However, after looking online, it seems that maybe the Download Cleaner Lite extension for Firefox may be what you are looking for.

It works on a timer rather than constantly monitoring to see if a download is completed, but it's likely the closest to what you are looking for.

Unfortunately, this is not a native feature in Firefox. However, after looking online, it seems that maybe the [https://addons.mozilla.org/firefox/addon/download-cleaner-lite/ Download Cleaner Lite] extension for Firefox may be what you are looking for. It works on a timer rather than constantly monitoring to see if a download is completed, but it's likely the closest to what you are looking for.
Was this helpful to you? 1
Quote

Question owner

Hello Wesley,

Thank you so much for the quick answer. I have looked at that extension but I was looking for a straightforward tweak to get it done.

I'll give that extension a try and if I do come up with something I'll let you know.

I believe Firefox in the past use to do this automatically - so a question for the developers is - what changed?

Regards, techspecX

Hello Wesley, Thank you so much for the quick answer. I have looked at that extension but I was looking for a straightforward tweak to get it done. I'll give that extension a try and if I do come up with something I'll let you know. I believe Firefox in the past use to do this automatically - so a question for the developers is - what changed? Regards, techspecX

Modified by techspecx

Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8492 solutions 69396 answers

Helpful Reply

Hi techspecX, do you just want to hide downloads from the arrow drop-down -- they would still be visible if you "Show All Downloads" (Ctrl+j) -- or do you also want to remove them from there as well?

You may be able to hide downloads from the drop-down using a custom style rule in a userChrome.css file. Presumably you would want that only for completed downloads and not downloads in progress. Someone would need to work out the details.

** EDIT **

The following style rule will hide downloads that have certain statuses. Completed, of course, but also canceled and blocked. I don't know what all the blocked statuses mean, I just got the numbers and included all three.

/* Hide downloads that are not in progress 
   from the toolbar button drop-down */
#downloadsPanel .download-state[state="1"], /* Finished           */
#downloadsPanel .download-state[state="3"], /* Canceled           */
#downloadsPanel .download-state[state="6"], /* Blocked (parental) */
#downloadsPanel .download-state[state="8"], /* Blocked (dirty)    */
#downloadsPanel .download-state[state="9"]  /* Blocked (policy)   */ {
  display:none !important;
}

If you want to try it out on yours, we could give the steps to set up a userChrome.css file. If you already have one, you can add the above rule to the end of it.

Hi techspecX, do you just want to hide downloads from the arrow drop-down -- they would still be visible if you "Show All Downloads" (Ctrl+j) -- or do you also want to remove them from there as well? You may be able to hide downloads from the drop-down using a custom style rule in a userChrome.css file. Presumably you would want that only for completed downloads and not downloads in progress. Someone would need to work out the details. '''** EDIT **''' The following style rule will hide downloads that have certain statuses. Completed, of course, but also canceled and blocked. I don't know what all the blocked statuses mean, I just got the numbers and included all three. <pre>/* Hide downloads that are not in progress from the toolbar button drop-down */ #downloadsPanel .download-state[state="1"], /* Finished */ #downloadsPanel .download-state[state="3"], /* Canceled */ #downloadsPanel .download-state[state="6"], /* Blocked (parental) */ #downloadsPanel .download-state[state="8"], /* Blocked (dirty) */ #downloadsPanel .download-state[state="9"] /* Blocked (policy) */ { display:none !important; } </pre> If you want to try it out on yours, we could give the steps to set up a userChrome.css file. If you already have one, you can add the above rule to the end of it.

Modified by jscher2000

Was this helpful to you? 1
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17266 solutions 156032 answers

Another workaround is to download the file in the New Private Window. In that case the downloads are managed via the about:downloads page and cleared automatically when you close all PB mode windows.

Another workaround is to download the file in the New Private Window. In that case the downloads are managed via the about:downloads page and cleared automatically when you close all PB mode windows.
Was this helpful to you? 1
Quote

Question owner

Hello All,

Thanks for these great tips. I am sure that I could utilize that someday. For right now I just wanted the downloads to disappear once they were downloaded so as not to clog my download list.

The extension that Wesley recommended seems to be doing the job right.

Thanks again to all.

Regards, techspecX

Hello All, Thanks for these great tips. I am sure that I could utilize that someday. For right now I just wanted the downloads to disappear once they were downloaded so as not to clog my download list. The extension that Wesley recommended seems to be doing the job right. Thanks again to all. Regards, techspecX

Modified by techspecx

Was this helpful to you? 1
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.