Download History - remove "delete" option
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.
- /questions/1381672 Disable Delete Option In Downloads Panel
.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
- https://www.userchrome.org/how-create-userchrome-css.html
- https://www.userchrome.org/firefox-changes-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.
- about:config => toolkit.legacyUserProfileCustomizations.stylesheets = true
- https://support.mozilla.org/en-US/kb/about-config-editor-firefox
所有回复 (2)
选择的解决方案
You can possibly use code in the userChrome.css file in the chrome folder in the Firefox profile folder to hide this menu item.
- /questions/1381672 Disable Delete Option In Downloads Panel
.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
- https://www.userchrome.org/how-create-userchrome-css.html
- https://www.userchrome.org/firefox-changes-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.
- about:config => toolkit.legacyUserProfileCustomizations.stylesheets = true
- https://support.mozilla.org/en-US/kb/about-config-editor-firefox
Thank you! That seems to have done the trick.