We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Block sidebar

  • 1 个回答
  • 0 人有此问题
  • 10 次查看
  • 最后回复者为 cor-el

more options

I need to lockdown my firefox browser so that the sidebar does not appear or is disabled entirely. I would prefer to use policies.json to do this but I don't see how to on the firefox github article.

I need to lockdown my firefox browser so that the sidebar does not appear or is disabled entirely. I would prefer to use policies.json to do this but I don't see how to on the firefox github article.

所有回复 (1)

more options

You can't do this via a policy and via about:config AFAIK. You can do this via CSS code in userChrome.css or inject this code via autoconfig.cfg.

#sidebar-box, #sidebar-splitter { visibility: collapse; }

More info about userChrome.css/userContent.css in case you are not familiar: *https://www.userchrome.org/what-is-userchrome-css.html

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.