搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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

  • 4 回覆
  • 1 有這個問題
  • 52 次檢視
  • 最近回覆由 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.

所有回覆 (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.

由 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.