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!

搜索 | 用户支持

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

详细了解

Hiding titlebar in windowed mode

more options

I was wondering if there is a way to hide the titlebar (tabs, bookmarks, url, extensions, etc.) like fullscreen mode does while in windowed mode. A hotkey toggle would be preferred. Currently I am using some old CSS I found online but it's got some pretty glaring issues such as search suggestions being cutoff. Supposedly this was possible back in 2011 with an extension and something called "zombie mode" but the extension is no longer available (and most likely wouldn't work anymore). Thanks.

#navigator-toolbox {
    position: relative;
    z-index: 1;
    height: 3px;
    margin-bottom: -3px;
    opacity: 0;
    overflow: hidden;
}
#navigator-toolbox:hover {
    height: auto;
    margin-bottom: 0px;
    opacity: 1;
    overflow: show;
}
#content-deck{
    position:relative;
    z-index: 0;
}
I was wondering if there is a way to hide the titlebar (tabs, bookmarks, url, extensions, etc.) like fullscreen mode does while in windowed mode. A hotkey toggle would be preferred. Currently I am using some old CSS I found online but it's got some pretty glaring issues such as search suggestions being cutoff. Supposedly this was possible back in 2011 with an extension and something called "zombie mode" but the extension is no longer available (and most likely wouldn't work anymore). Thanks. <pre><nowiki>#navigator-toolbox { position: relative; z-index: 1; height: 3px; margin-bottom: -3px; opacity: 0; overflow: hidden; } #navigator-toolbox:hover { height: auto; margin-bottom: 0px; opacity: 1; overflow: show; } #content-deck{ position:relative; z-index: 0; }</nowiki></pre>

由cor-el于修改

被采纳的解决方案

Reddit has a sub called FirefoxCSS. I have seen similar questions posted there and switching css stanzas off and on seems to be a complex (if not, impossible) task. You could post a question there if you don't get an answer here. A (javascript?) script is probably required. Someone on github may have a solution.

定位到答案原位置 👍 1

所有回复 (3)

more options

I've now played around with multiple userChrome.css solutions listed online but the lack of a hotkey is really a big problem with it. Without having a hotkey it makes it impossible to move tabs between windows unless there is a long delay on the animation of one window. Not to mention the problems with hovering not behaving a a very comfortable manner (if a windows is covering the top of the screen, moving the mouse all the way to the top will not cause the hover event to occur).

So if anyone has a hotkey based solution that would be very much appreciated.

more options

选择的解决方案

Reddit has a sub called FirefoxCSS. I have seen similar questions posted there and switching css stanzas off and on seems to be a complex (if not, impossible) task. You could post a question there if you don't get an answer here. A (javascript?) script is probably required. Someone on github may have a solution.

more options

Thank you for the recommendation, there is a treasure trove of CSS on the sub. I found one that hides everything except for tabs and that has been pretty good. Someday when I have more time I may look into figuring out how to inject js to toggle css stanzas but it seems rough since userChrome.js isn't supported for security reasons.