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!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

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.