Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Disable "show in download folder"

  • 4 réponses
  • 0 a ce problème
  • 18 vues
  • Dernière réponse par 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?

Solution choisie

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

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (4)

more options

Solution choisie

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: