Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

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

Learn More

Download History - remove "delete" option

  • 2 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 lemming3k

more options

Hi,

Is there a way to remove the "delete" option when right clicking on items in the download history? It's unfortunately right above 'remove from history' and easy to mis-click. It has no confirmation and permanently deletes the file(s) without sending to the recycle bin which is quite annoying - especially as I'm not sure why you'd want to use this menu to delete something you just downloaded.

Thanks

Hi, Is there a way to remove the "delete" option when right clicking on items in the download history? It's unfortunately right above 'remove from history' and easy to mis-click. It has no confirmation and permanently deletes the file(s) without sending to the recycle bin which is quite annoying - especially as I'm not sure why you'd want to use this menu to delete something you just downloaded. Thanks

被選擇的解決方法

You can possibly use code in the userChrome.css file in the chrome folder in the Firefox profile folder to hide this menu item.


.downloadDeleteFileMenuItem { display: none !important; }

More info about userContent.css and userChrome.css in case you are not familiar: *https://www.userchrome.org/what-is-userchrome-css.html

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

You can possibly use code in the userChrome.css file in the chrome folder in the Firefox profile folder to hide this menu item.


.downloadDeleteFileMenuItem { display: none !important; }

More info about userContent.css and userChrome.css in case you are not familiar: *https://www.userchrome.org/what-is-userchrome-css.html

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

more options

Thank you! That seems to have done the trick.