Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to not reveal the toolbar/addressbar in fullscreen mode when mouse reaches screen top

  • 4 replies
  • 1 has this problem
  • 17 views
  • Last reply by cor-el

more options

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.

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)

more options

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.

More info about userContent.css and userChrome.css in case you are not familiar: *https://www.userchrome.org/what-is-userchrome-css.html

more options

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 by cor-el

more options

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.

more options

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.