当前 Firefox 版本: 87.0 64位
所需工具:
- Tree Style Tab : 用来垂直显示标签页,也可以用其他附加组件
- userChrome.css : 用来隐藏选项卡栏和侧边栏关闭按钮
效果:
步骤:
- 在附加组件搜索 "Tree Style Tab" 然后安装
- 安装完成后,在侧边栏选择 "树状标签页"
- 在地址栏输入 "about:config"
- 搜索选项 "toolkit.legacyUserProfileCustomizations.stylesheets",设置为 "true"
- 点击 "帮助" -> "排障信息" 或在地址栏输入 "about:support"
- 打开 "配置文件夹" 目录
- 新建一个文件夹 "chrome"
- 在 "chrome" 里新建一个文本文件 "userChrome.css"
- 在 "userChrome.css" 里填入
#TabsToolbar { visibility: collapse !important; } #sidebar-close { visibility: collapse; }
- 重启 Firefox 以应用新界面样式
参考资料:
https://github.com/Timvde/UserChrome-Tweaks
https://sunbox.cc/firefox-userchrome-css.html
https://superuser.com/questions/1261660/firefox-quantum-ver-57-how-can-i-hide-the-horizontal-tab-bar-with-treesty