搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.