Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Block sidebar

  • 1 (رد واحد)
  • 0 have this problem
  • 10 views
  • آخر ردّ كتبه 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.

All Replies (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.