我想自定义我的 mozilla 界面以全屏显示,没有选项卡工具栏和导航栏。我使用 ./chrome/userChrome.css
如下所示:
#main-window {
max-width:1920px !important;
max-height:1200px !important;
}
#TabsToolbar{
display: none
}
#nav-bar {
display: none
}
尝试过 firefox -P my_profile www.google.com
预期:Google 页面
结果:空白页面,一键进入google页面。
使用微软 window
最佳答案
尝试改变
display: none
到 visibility: collapse
。
显然有些功能依赖于现有的导航栏,因此“隐藏”而不是“删除”似乎可以解决问题,至少对我来说是这样。
关于css - 编辑 userChrome.css 以隐藏 tabstoolbar 和 nav-bar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56751203/