How to not reveal the toolbar/addressbar in fullscreen mode when mouse reaches screen top
I don't want the tabs + search bar to show when the mouse reaches the top of the screen while in full-screen mode, I have tried "userChrome.css" solution provided in this link "https://support.mozilla.org/en-US/questions/1092572", but it didn't work for me, I would appreciate any help, thank you.
All Replies (4)
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
More info about userContent.css and userChrome.css in case you are not familiar: *https://www.userchrome.org/what-is-userchrome-css.html
inside of "about:config". I have set "toolkit.legacyUserProfileCustomizations.stylesheets" to "true". and inside of "/home/<my-username>/.mozilla/firefox/mqw0vl3h.default-release/chrome/userChrome.css" file, I have these two statements:
```
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ #fullscr-toggler { display:none!important; }
```
(back ticks not included) but still doesn't work
By the way. In Chrome and Brave browser (and probably all chromium-based browser.) When you are in full-screen, if the mouse pointer reaches the screen's top edge, a "close" icon slides down, and if you click on it, it gets you out of full-screen. much nicer behaviour.
Modified
in the previous reply: fullscr-toggler is preceded with # symbol (no space between "#" and "fullscr-toggler") after posting the reply, "#" changed to "1." for some reason.
Starting a line with a hash (#) on this forum is markup for a numbered list item. You can start a line with a space to make it a PRE tag.
In Firefox you can click the maximize button on the Tab bar to leave full screen mode.
This code in userChrome.css should still work (just tested it to be sure), but a Firefox version from the repositories could behave differently than the official Mozilla release.