搜尋 Mozilla 技術支援網站

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

了解更多

My userChrome.css that hides the top tabs has stopped working

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 crankygoat

more options

I use the tree style tabs addon, so I prefer to hide the tabs along the top of the firefox window. For over a year I've used this userChrome.css file to hide them: https://github.com/eriknelson/dotfiles/blob/master/firefox/userChrome.css

Suddenly across all of my machines this has stopped working, and the tabs are still shown. I normally install it by navigating to the troubleshooting information to get my user profile location (ex: /home/ernelson/.mozilla/firefox/<profile>), creating a "chrome" directory, and copy the file there.

Has something changed with the API that would cause this sheet to be ignored? How can I troubleshoot this?

Firefox version: 72.0.1 OS: This occurs on all my systems; Windows, Arch Linux, and Fedora 31

I use the tree style tabs addon, so I prefer to hide the tabs along the top of the firefox window. For over a year I've used this userChrome.css file to hide them: https://github.com/eriknelson/dotfiles/blob/master/firefox/userChrome.css Suddenly across all of my machines this has stopped working, and the tabs are still shown. I normally install it by navigating to the troubleshooting information to get my user profile location (ex: /home/ernelson/.mozilla/firefox/<profile>), creating a "chrome" directory, and copy the file there. Has something changed with the API that would cause this sheet to be ignored? How can I troubleshoot this? Firefox version: 72.0.1 OS: This occurs on all my systems; Windows, Arch Linux, and Fedora 31

被選擇的解決方法

At the least, you need to set a preference. Type about:config in the address bar and Enter. Find the preference toolkit.legacyUserProfileCustomizations.stylesheets and set it to "true".

There will likely be breaking changes every release or so until the rewriting of the UI chills out a bit.

This should help you if you need to adjust your userChrome.css: https://www.userchrome.org/what-is-userchrome-css.html#movetabbar

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

選擇的解決方法

At the least, you need to set a preference. Type about:config in the address bar and Enter. Find the preference toolkit.legacyUserProfileCustomizations.stylesheets and set it to "true".

There will likely be breaking changes every release or so until the rewriting of the UI chills out a bit.

This should help you if you need to adjust your userChrome.css: https://www.userchrome.org/what-is-userchrome-css.html#movetabbar

more options

Thank you, that was the exact setting that I needed. Is this something that was recently introduced?

more options

Very recently, it appears, yes.