css - 编辑 userChrome.css 以隐藏 tabstoolbar 和 nav-bar

标签 css firefox mozilla userchrome.css

我想自定义我的 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: nonevisibility: collapse

显然有些功能依赖于现有的导航栏,因此“隐藏”而不是“删除”似乎可以解决问题,至少对我来说是这样。

关于css - 编辑 userChrome.css 以隐藏 tabstoolbar 和 nav-bar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56751203/

相关文章:

html - 网络音频在 Chrome 中播放,但在 Firefox 中不播放

javascript - Firefox 41 在格式化 `new Intl.NumberFormat("es-ES").format(3500 )` as ` 3 500` 时是否有错误?

javascript - 在 asm.js 代码中检查 NaN

html - 如何设置特定于 mozilla 的 div 宽度

html - 使用 CSS 创建全 Angular 背景色

html - 文本溢出省略号

firefox - Firefox 17 中的 FCK 编辑器 2.3.2 错误 - TypeError : FCKeditorAPI is undefined

html - padding-left 和 padding-start 有什么区别?

html - 上边距不恢复背景颜色

html - 如何在html中的input[type=text]中创建input[type=image]