Firefox hide everything except content area of the browser and minimize, Maximize and close
Hello
I am customizing m userchrome.css.
My intention is to hide everything except content area of the browser and minimize, Maximize and close.
i can do it with the code bellow but minimize, Maximize and close are not being shown :
- TabsToolbar {visibility: collapse;}
- navigator-toolbox {visibility: collapse;}
browser {margin-right: -14px; margin-bottom: -14px;}
Thank you.
الحل المُختار
You can normally enable the title bar via the Customize palette. This is controlled by this pref on the about:config page or you can use your autoconfig.cfg file.
- about:config => browser.tabs.drawInTitlebar = false
- pref("browser.tabs.drawInTitlebar", false);
All Replies (3)
That is not possible. The Minimize, Maximize and Close buttons can only appear on the title bar or on the menu bar or the tab bar and if you hide all three of them then there is no place for showing these buttons.
Note that #navigator-toolbox includes the Tab bar (#TabsToolbar).
cor-el said
That is not possible. The Minimize, Maximize and Close buttons can only appear on the title bar or on the menu bar or the tab bar and if you hide all three of them then there is no place for showing these buttons. Note that #navigator-toolbox includes the Tab bar (#TabsToolbar).
Hello.
If it shows it on the title bar it will work for me.
Any tip for the code to appear the title bar with the control buttons?
Thanks in advance.
الحل المُختار
You can normally enable the title bar via the Customize palette. This is controlled by this pref on the about:config page or you can use your autoconfig.cfg file.
- about:config => browser.tabs.drawInTitlebar = false
- pref("browser.tabs.drawInTitlebar", false);