Block sidebar
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.
Wšykne wótegrona (1)
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
- https://www.userchrome.org/how-create-userchrome-css.html
- https://www.userchrome.org/firefox-changes-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.
- about:config => toolkit.legacyUserProfileCustomizations.stylesheets = true
- https://support.mozilla.org/en-US/kb/about-config-editor-firefox