搜尋 Mozilla 技術支援網站

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

了解更多

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.