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

Disable "show in download folder"

  • 4 个回答
  • 0 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

I have a need to use regular browser (not kiosk), but disable the "open downloads folder" once a file has been downloaded. This is opening a file manager (thunar or alike) which then allows the user to browse the filesystem and open a terminal emulator from /usr/bin.

Using the policies, I am able to prompt for downloads, or select a download location, however I have been unable to completely stop the user from opening the download folder which opens a file browser.

Is there any way I can select policies or profile options for disabling the option for opening download folder?

I have a need to use regular browser (not kiosk), but disable the "open downloads folder" once a file has been downloaded. This is opening a file manager (thunar or alike) which then allows the user to browse the filesystem and open a terminal emulator from /usr/bin. Using the policies, I am able to prompt for downloads, or select a download location, however I have been unable to completely stop the user from opening the download folder which opens a file browser. Is there any way I can select policies or profile options for disabling the option for opening download folder?

被采纳的解决方案

I don't see any on github or searchfox. You may be able to remove the option using css following the example in the post linked below.

https://support.mozilla.org/en-US/questions/1381672#answer-1516720

定位到答案原位置 👍 1

所有回复 (4)

more options

选择的解决方案

I don't see any on github or searchfox. You may be able to remove the option using css following the example in the post linked below.

https://support.mozilla.org/en-US/questions/1381672#answer-1516720

more options

Thank you @Terry. Trying this today. It does seem to be right along the lines of what I was after.

more options

Terry said

I don't see any on github or searchfox. You may be able to remove the option using css following the example in the post linked below. https://support.mozilla.org/en-US/questions/1381672#answer-1516720

OK, one more hurdle...

I like the approach on the solution and it seem easy to implement. We however keep a cleanse of the profile on firefox restart to sanitize. This means that I have a new profile on each opening of the browser.

I can add easily enough the bits to enable toolkit.legacyUserProfileCustomizations.stilesheets in /usr/lib/firefox/defaults/pref/somefile.js however, I am having issues porting the userChrome.css since it is supposed to go inside the profile. Do you have any alternative on how to manage this as a policy/global pref?

more options

See also: