Disable "show in 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?
Ausgewählte Lösung
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
Diese Antwort im Kontext lesen 👍 1Alle Antworten (4)
Ausgewählte Lösung
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
Thank you @Terry. Trying this today. It does seem to be right along the lines of what I was after.
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?
See also:
- /questions/1342800 how to copy userchrome.css to installer