[Mozilla Enterprise] Fwd: Suggestions for hiding the horizontal bars at the top of the browser?
Pascal Chevrel
pchevrel at mozilla.com
Mon Dec 28 14:50:33 UTC 2020
Le 28/12/2020 à 05:41, Trever Furnish a écrit :
>
> We're struggling to find a way to get Firefox (ESR 78.5, currently) to
> hide or combine the three horizontal bars at the top -- the window
> manager title bar, the tab bar, and the "location bar" (not sure what
> this is usually called).
>
(Disclaimer, I just tested it on my Ubuntu 20.04 machine with Firefox
Nightly only and I know nothing about Citrix environment :) )
Hello Trever,
Give that Citrix does not work correctly with Firefox kiosk mode, I
would workaround the issue by hiding the navigation bar with custom CSS
injected in the user profile and if you can install extra packages on
the user machines I would install xdotool (apt install xdotool) to force
going into fullscreen at startup by simulating the F11 key. With a bash
script I would do something like that:
```
target=/path/to/user/profile
cat >> $target/prefs.js <<EOL
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
EOL
mkdir $target/chrome/
cat >> $target/chrome/userChrome.css <<EOL
#titlebar,
#nav-bar {
visibility: collapse !important;
}
EOL
xdotool search --sync --onlyvisible --class "Firefox" windowactivate key
F11 &
firefox --profile $target
```
If you are looking for a cross platform solution to the fullscreen
issue, I think that deploying an autofullscrren extension is probably a
better alternative.
Regards,
Pascal
--
Pascal Chevrel
Firefox Release Manager
+ Firefox Nightly community management
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20201228/be704cd0/attachment.html>
More information about the Enterprise
mailing list