6

Firefox has just updated and now it doesn't see userChrome.css, toolkit.legacyUserProfileCustomizations.stylesheets is set to true. I'm trying to hide the scrollbar by

html {
    scrollbar-width: none !important;
}

and everything worked fine before firefox updated.

I've put the chrome/userChrome.css to every profile folder I have and restarted firefox every time, but it still doesn't see anything from userChrome.css

--

UDP:

Firefox still doesn't see my custom css, but if you want to hide the scrollbars, this addon works.

Kalich
  • 87
  • 2
  • 6
  • 1
    What are you using for the userChrome.css file? Your own or are you using [Arit-t2’s GitHub custom CSS](https://github.com/Aris-t2/CustomCSSforFx)? I ask as Arti-t2 updated his CSS four hours ago and it’s working for me (I use it to position the tabs below the bookmark tool bar). – Rich DeBourke Jun 04 '21 at 13:00
  • 1
    @RichDeBourke no, I use my own CSS for only hiding the scrollbar. – Kalich Jun 06 '21 at 08:44

3 Answers3

5

Try setting toolkit.legacyUserProfileCustomizations.stylesheets to true. According to How to Create a userChrome.css File (on userchrome.org), Firefox used to look for chrome/userChrome.css at startup, but this was discontinued as default behavior starting with Firefox 69, to speed up startup.

Lori
  • 1,392
  • 1
  • 21
  • 29
5

widget.non-native-theme.enabled = false

daxim
  • 39,270
  • 4
  • 65
  • 132
0

Instead of a userChrome file, a userContent.css file is what you would use to style pages that are actually displayed on Firefox

Tom
  • 21
  • 3
  • Do you have references to backup your suggested solution? Unfortunately your answer doesn't explain further how and why using a userContent.css-file fixes the described problem. A short explanation or hyperllink would be very helpful. Greetings ~ – flumingo Sep 27 '21 at 14:01
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Sep 27 '21 at 14:02
  • `userContent` is for styling the page, `userChrome` is for styling the browser chrome itself. – Ian Dunn Feb 25 '22 at 21:36