搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 4 个回答
  • 1 人有此问题
  • 17 次查看
  • 最后回复者为 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.